diff --git a/radiant/mainframe.cpp b/radiant/mainframe.cpp index 375d0989..61c929dc 100644 --- a/radiant/mainframe.cpp +++ b/radiant/mainframe.cpp @@ -2567,10 +2567,9 @@ void Manipulators_constructToolbar( GtkToolbar* toolbar ){ GtkToolbar* create_main_toolbar( MainFrame::EViewStyle style ){ GtkToolbar* toolbar = GTK_TOOLBAR( gtk_toolbar_new() ); - gtk_toolbar_set_orientation( toolbar, GTK_ORIENTATION_HORIZONTAL ); + gtk_orientable_set_orientation( GTK_ORIENTABLE( toolbar ), GTK_ORIENTATION_HORIZONTAL ); gtk_toolbar_set_style( toolbar, GTK_TOOLBAR_ICONS ); // gtk_toolbar_set_show_arrow( toolbar, TRUE ); - //gtk_orientable_set_orientation( GTK_ORIENTABLE( toolbar ), GTK_ORIENTATION_HORIZONTAL ); gtk_widget_show( GTK_WIDGET( toolbar ) ); File_constructToolbar( toolbar ); diff --git a/radiant/plugintoolbar.cpp b/radiant/plugintoolbar.cpp index ba8643c2..39320423 100644 --- a/radiant/plugintoolbar.cpp +++ b/radiant/plugintoolbar.cpp @@ -128,7 +128,7 @@ GtkToolbar* create_plugin_toolbar(){ GtkToolbar *toolbar; toolbar = GTK_TOOLBAR( gtk_toolbar_new() ); - gtk_toolbar_set_orientation( toolbar, GTK_ORIENTATION_HORIZONTAL ); + gtk_orientable_set_orientation( GTK_ORIENTABLE( toolbar ), GTK_ORIENTATION_HORIZONTAL ); gtk_toolbar_set_style( toolbar, GTK_TOOLBAR_ICONS ); // gtk_toolbar_set_show_arrow( toolbar, TRUE ); gtk_widget_show( GTK_WIDGET( toolbar ) );