summaryrefslogtreecommitdiff
path: root/cut-n-paste/toolbar-editor/egg-toolbar-editor.c
diff options
context:
space:
mode:
authorraveit65 <[email protected]>2016-06-22 16:13:54 +0200
committerraveit65 <[email protected]>2016-06-22 16:13:54 +0200
commitd4e9df8989ef35e8c8ccaa4ce3b067ca25de71c2 (patch)
treec2018fecf565e4fb5289f59a4ef1cd6494cab372 /cut-n-paste/toolbar-editor/egg-toolbar-editor.c
parent2c9942121667f5ec79b2aa1cfe706bac2ab06201 (diff)
downloadatril-d4e9df8989ef35e8c8ccaa4ce3b067ca25de71c2.tar.bz2
atril-d4e9df8989ef35e8c8ccaa4ce3b067ca25de71c2.tar.xz
Do not use deprecated GTK_TYPE_VBOX definitions
Diffstat (limited to 'cut-n-paste/toolbar-editor/egg-toolbar-editor.c')
-rw-r--r--cut-n-paste/toolbar-editor/egg-toolbar-editor.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c
index 4cfacf79..e17b03a2 100644
--- a/cut-n-paste/toolbar-editor/egg-toolbar-editor.c
+++ b/cut-n-paste/toolbar-editor/egg-toolbar-editor.c
@@ -77,7 +77,7 @@ struct EggToolbarEditorPrivate
gulong sig_handlers[SIGNAL_HANDLER_LIST_SIZE];
};
-G_DEFINE_TYPE (EggToolbarEditor, egg_toolbar_editor, GTK_TYPE_VBOX);
+G_DEFINE_TYPE (EggToolbarEditor, egg_toolbar_editor, GTK_TYPE_BOX);
static gint
compare_items (gconstpointer a,
@@ -673,6 +673,10 @@ setup_editor (EggToolbarEditor *editor)
static void
egg_toolbar_editor_init (EggToolbarEditor *t)
{
+#if GTK_CHECK_VERSION (3, 0, 0)
+ gtk_orientable_set_orientation (GTK_ORIENTABLE (t), GTK_ORIENTATION_VERTICAL);
+#endif
+
t->priv = EGG_TOOLBAR_EDITOR_GET_PRIVATE (t);
t->priv->manager = NULL;