Changeset 11560
Legend:
- Unmodified
- Added
- Removed
-
trunk/gtk/msgwin.c
r11337 r11560 400 400 401 401 toolbar = gtk_toolbar_new( ); 402 gtr_toolbar_set_orientation( GTK_TOOLBAR( toolbar ), GTK_ORIENTATION_HORIZONTAL );403 402 gtk_toolbar_set_style( GTK_TOOLBAR( toolbar ), GTK_TOOLBAR_BOTH_HORIZ ); 404 403 -
trunk/gtk/util.c
r11522 r11560 755 755 } 756 756 757 void758 gtr_toolbar_set_orientation( GtkToolbar * toolbar,759 GtkOrientation orientation )760 {761 #if GTK_CHECK_VERSION( 2,16,0 )762 gtk_orientable_set_orientation( GTK_ORIENTABLE( toolbar ), orientation );763 #else764 gtk_toolbar_set_orientation( toolbar, orientation );765 #endif766 }767 768 769 757 /*** 770 758 **** -
trunk/gtk/util.h
r11253 r11560 133 133 void gtr_idle_add( GSourceFunc func, gpointer data ); 134 134 135 /* backwards-compatible wrapper around gtk_orientable_set_orientation() */136 void gtr_toolbar_set_orientation( GtkToolbar * tb, GtkOrientation orientation );137 138 135 /* backwards-compatible wrapper around gtk_widget_set_tooltip_text() */ 139 136 void gtr_widget_set_tooltip_text( GtkWidget * w, const char * tip );
Note: See TracChangeset
for help on using the changeset viewer.