From 8a8e85bf8de79e4ac183e653b0363a11ed0bad87 Mon Sep 17 00:00:00 2001 From: Wolfgang Ulbrich Date: Mon, 14 Dec 2015 16:37:04 +0100 Subject: GTK3: don't use deprecated gtk_hbutton_box_new --- src/eom-plugin-manager.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/eom-plugin-manager.c b/src/eom-plugin-manager.c index 05fa2b0..f4576c3 100644 --- a/src/eom-plugin-manager.c +++ b/src/eom-plugin-manager.c @@ -867,7 +867,11 @@ eom_plugin_manager_init (EomPluginManager *pm) gtk_label_set_mnemonic_widget (GTK_LABEL (label), pm->priv->tree); +#if GTK_CHECK_VERSION(3, 0, 0) + hbuttonbox = gtk_button_box_new (GTK_ORIENTATION_HORIZONTAL); +#else hbuttonbox = gtk_hbutton_box_new (); +#endif gtk_box_pack_start (GTK_BOX (pm), hbuttonbox, FALSE, FALSE, 0); -- cgit v1.2.1