diff options
author | Wolfgang Ulbrich <[email protected]> | 2015-12-14 19:39:26 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2015-12-14 19:39:26 +0100 |
commit | 39fb93e286d09f6cd77b5204aebbe39bfd2a48d6 (patch) | |
tree | 0c75941b8c0d1c304688c82109d26bc01ce5dd71 /cut-n-paste/toolbar-editor/egg-editable-toolbar.c | |
parent | dcaa329c797fd6a716ab5e24aefe27c6cb989f32 (diff) | |
download | eom-39fb93e286d09f6cd77b5204aebbe39bfd2a48d6.tar.bz2 eom-39fb93e286d09f6cd77b5204aebbe39bfd2a48d6.tar.xz |
GTK3: fix deprecated gtk_{v/h}separator_new
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, 4 insertions, 0 deletions
diff --git a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c index 9ebae01..f2a1b04 100644 --- a/cut-n-paste/toolbar-editor/egg-editable-toolbar.c +++ b/cut-n-paste/toolbar-editor/egg-editable-toolbar.c @@ -1794,7 +1794,11 @@ new_separator_pixbuf (void) GtkWidget *separator; GdkPixbuf *pixbuf; +#if GTK_CHECK_VERSION(3, 0, 0) + separator = gtk_separator_new (GTK_ORIENTATION_VERTICAL); +#else separator = gtk_vseparator_new (); +#endif pixbuf = new_pixbuf_from_widget (separator); return pixbuf; } |