diff options
author | raveit65 <[email protected]> | 2016-06-22 16:13:54 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2016-06-22 16:13:54 +0200 |
commit | d4e9df8989ef35e8c8ccaa4ce3b067ca25de71c2 (patch) | |
tree | c2018fecf565e4fb5289f59a4ef1cd6494cab372 /cut-n-paste/toolbar-editor/egg-editable-toolbar.c | |
parent | 2c9942121667f5ec79b2aa1cfe706bac2ab06201 (diff) | |
download | atril-d4e9df8989ef35e8c8ccaa4ce3b067ca25de71c2.tar.bz2 atril-d4e9df8989ef35e8c8ccaa4ce3b067ca25de71c2.tar.xz |
Do not use deprecated GTK_TYPE_VBOX definitions
Diffstat (limited to 'cut-n-paste/toolbar-editor/egg-editable-toolbar.c')
-rw-r--r-- | cut-n-paste/toolbar-editor/egg-editable-toolbar.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c index 2e40162c..c81aea4c 100644 --- a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c +++ b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c @@ -87,7 +87,7 @@ struct _EggEditableToolbarPrivate GtkToolItem *dnd_toolitem; }; -G_DEFINE_TYPE (EggEditableToolbar, egg_editable_toolbar, GTK_TYPE_VBOX); +G_DEFINE_TYPE (EggEditableToolbar, egg_editable_toolbar, GTK_TYPE_BOX); static int get_dock_position (EggEditableToolbar *etoolbar, @@ -1382,6 +1382,8 @@ egg_editable_toolbar_init (EggEditableToolbar *etoolbar) { EggEditableToolbarPrivate *priv; + gtk_orientable_set_orientation (GTK_ORIENTABLE (etoolbar), GTK_ORIENTATION_VERTICAL); + priv = etoolbar->priv = EGG_EDITABLE_TOOLBAR_GET_PRIVATE (etoolbar); priv->save_hidden = TRUE; |