summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormonsta <[email protected]>2016-01-21 17:29:02 +0300
committermonsta <[email protected]>2016-01-21 17:29:02 +0300
commite40b7891762f54214fbd6b308e1a2291893444ed (patch)
treedb2d20e26be2d5a4e0f67dd58228cbdb873b3753 /src
parentc6437bda0a9e7e26477c27fc355d9119b65d9d0d (diff)
downloadmarco-e40b7891762f54214fbd6b308e1a2291893444ed.tar.bz2
marco-e40b7891762f54214fbd6b308e1a2291893444ed.tar.xz
[GTK+3] theme viewer: fix deprecated usage of GtkHButtonBox
Diffstat (limited to 'src')
-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);