diff options
author | Viktor Odintsev <ninetls@xfce.org> | 2017-08-19 00:49:28 +0300 |
---|---|---|
committer | Viktor Odintsev <ninetls@xfce.org> | 2017-08-19 00:49:28 +0300 |
commit | fc93e65827c70db817953a371d38a548b4806a4a (patch) | |
tree | 574e6198345b45beaa0b069c6dddfb295441c22e /settings-dialogs | |
parent | 01e33319216f5a0aad00ba0bce3e7560e2dabda7 (diff) | |
download | xfwm4-fc93e65827c70db817953a371d38a548b4806a4a.tar.gz |
Add xfconf 4.13 support
Diffstat (limited to 'settings-dialogs')
-rw-r--r-- | settings-dialogs/workspace-settings.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/settings-dialogs/workspace-settings.c b/settings-dialogs/workspace-settings.c index 67600a57a..a6d69df48 100644 --- a/settings-dialogs/workspace-settings.c +++ b/settings-dialogs/workspace-settings.c @@ -30,7 +30,9 @@ #include <gtk/gtk.h> #include <gtk/gtkx.h> +#ifdef XFCONF_LEGACY #include <dbus/dbus-glib.h> +#endif #include <libwnck/libwnck.h> #include <libxfce4util/libxfce4util.h> @@ -216,8 +218,12 @@ xfconf_workspace_names_changed(XfconfChannel *channel, { GPtrArray *names; +#ifdef XFCONF_LEGACY if(G_VALUE_TYPE(value) != dbus_g_type_get_collection("GPtrArray", G_TYPE_VALUE)) +#else + if(G_VALUE_TYPE(value) != G_TYPE_PTR_ARRAY) +#endif { g_warning("(workspace names) Expected boxed GPtrArray property, got %s", G_VALUE_TYPE_NAME(value)); |