From e40b7891762f54214fbd6b308e1a2291893444ed Mon Sep 17 00:00:00 2001 From: monsta Date: Thu, 21 Jan 2016 17:29:02 +0300 Subject: [GTK+3] theme viewer: fix deprecated usage of GtkHButtonBox --- src/ui/theme-viewer.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src') 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); -- cgit v1.2.1