**/
toolbar = gtk_toolbar_new( );
- gtr_toolbar_set_orientation( GTK_TOOLBAR( toolbar ), GTK_ORIENTATION_HORIZONTAL );
gtk_toolbar_set_style( GTK_TOOLBAR( toolbar ), GTK_TOOLBAR_BOTH_HORIZ );
item = gtk_tool_button_new_from_stock( GTK_STOCK_SAVE_AS );
#endif
}
-void
-gtr_toolbar_set_orientation( GtkToolbar * toolbar,
- GtkOrientation orientation )
-{
-#if GTK_CHECK_VERSION( 2,16,0 )
- gtk_orientable_set_orientation( GTK_ORIENTABLE( toolbar ), orientation );
-#else
- gtk_toolbar_set_orientation( toolbar, orientation );
-#endif
-}
-
-
/***
****
***/
/* backwards-compatible wrapper around gdk_threads_add_idle() */
void gtr_idle_add( GSourceFunc func, gpointer data );
-/* backwards-compatible wrapper around gtk_orientable_set_orientation() */
-void gtr_toolbar_set_orientation( GtkToolbar * tb, GtkOrientation orientation );
-
/* backwards-compatible wrapper around gtk_widget_set_tooltip_text() */
void gtr_widget_set_tooltip_text( GtkWidget * w, const char * tip );