summaryrefslogtreecommitdiff
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/theme-viewer.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/ui/theme-viewer.c b/src/ui/theme-viewer.c
index a9ef8103..fa981fab 100644
--- a/src/ui/theme-viewer.c
+++ b/src/ui/theme-viewer.c
@@ -241,7 +241,11 @@ dialog_contents (void)
vbox = gtk_vbox_new (FALSE, 0);
+#if GTK_CHECK_VERSION (3, 0, 0)
+ action_area = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL);
+#else
action_area = gtk_hbutton_box_new ();
+#endif
gtk_button_box_set_layout (GTK_BUTTON_BOX (action_area),
GTK_BUTTONBOX_END);