diff options
author | Wolfgang Ulbrich <[email protected]> | 2015-12-14 16:37:04 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2015-12-14 16:37:04 +0100 |
commit | 8a8e85bf8de79e4ac183e653b0363a11ed0bad87 (patch) | |
tree | 9852e927df71725d663cc8602ad3fa5ebdbabce7 /src/eom-plugin-manager.c | |
parent | 180b08dce15735b6fec5ba6d61f5be13baff8084 (diff) | |
download | eom-8a8e85bf8de79e4ac183e653b0363a11ed0bad87.tar.bz2 eom-8a8e85bf8de79e4ac183e653b0363a11ed0bad87.tar.xz |
GTK3: don't use deprecated gtk_hbutton_box_new
Diffstat (limited to 'src/eom-plugin-manager.c')
-rw-r--r-- | src/eom-plugin-manager.c | 4 |
1 files changed, 4 insertions, 0 deletions
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); |