summaryrefslogtreecommitdiff
path: root/cut-n-paste/toolbar-editor/egg-editable-toolbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'cut-n-paste/toolbar-editor/egg-editable-toolbar.c')
-rw-r--r--cut-n-paste/toolbar-editor/egg-editable-toolbar.c4
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;
}