diff options
author | Wolfgang Ulbrich <[email protected]> | 2015-11-16 13:13:54 +0100 |
---|---|---|
committer | Wolfgang Ulbrich <[email protected]> | 2015-12-02 12:43:13 +0100 |
commit | 355fdba3e5c95beea4c9a8aa05dfec59a580611b (patch) | |
tree | f7e9c44f5abd84027d7bc82f93d42b1a1cbd1d6c /plugins/housekeeping/msd-ldsm-dialog.c | |
parent | d998ec6e17201c854d8ae80593b2e6e0d31ccd5e (diff) | |
download | mate-settings-daemon-355fdba3e5c95beea4c9a8aa05dfec59a580611b.tar.bz2 mate-settings-daemon-355fdba3e5c95beea4c9a8aa05dfec59a580611b.tar.xz |
Gtk3: don't use deprecated gtk_{h/v}box_new
Diffstat (limited to 'plugins/housekeeping/msd-ldsm-dialog.c')
-rw-r--r-- | plugins/housekeeping/msd-ldsm-dialog.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/plugins/housekeeping/msd-ldsm-dialog.c b/plugins/housekeeping/msd-ldsm-dialog.c index 0b13cf7..597e687 100644 --- a/plugins/housekeeping/msd-ldsm-dialog.c +++ b/plugins/housekeeping/msd-ldsm-dialog.c @@ -25,6 +25,11 @@ #define SETTINGS_SCHEMA "org.mate.SettingsDaemon.plugins.housekeeping" #define SETTINGS_IGNORE_PATHS "ignore-paths" +#if GTK_CHECK_VERSION (3, 0, 0) +#define gtk_hbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_HORIZONTAL,Y) +#define gtk_vbox_new(X,Y) gtk_box_new(GTK_ORIENTATION_VERTICAL,Y) +#endif + enum { PROP_0, |