Commit 6a5930fb authored by Sean Davis's avatar Sean Davis 🕶

Replace XFCONF_TYPE_G_VALUE_ARRAY, require xfconf 4.13

Settings Editor needs to add support for GPtrArray and touchpad support needs to be improved.
parent e7dd1619
......@@ -96,7 +96,7 @@ XDT_CHECK_PACKAGE([GARCON], [garcon-1], [0.1.10])
XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.9.0])
XDT_CHECK_PACKAGE([LIBXFCE4UI], [libxfce4ui-2], [4.13.0])
XDT_CHECK_PACKAGE([LIBXFCE4KBD_PRIVATE], [libxfce4kbd-private-3], [4.12.0])
XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.9.0])
XDT_CHECK_PACKAGE([XFCONF], [libxfconf-0], [4.13.0])
XDT_CHECK_PACKAGE([DBUS_GLIB], [dbus-glib-1], [0.84])
XDT_CHECK_PACKAGE([FONTCONFIG], [fontconfig], [2.6.0])
......
......@@ -47,7 +47,6 @@
#include "pointers-defines.h"
#define MAX_DENOMINATOR (100.00)
#define XFCONF_TYPE_G_VALUE_ARRAY (dbus_g_type_get_collection ("GPtrArray", G_TYPE_VALUE))
#ifdef XI_PROP_ENABLED
#define DEVICE_ENABLED XI_PROP_ENABLED
......@@ -809,7 +808,7 @@ xfce_pointers_helper_change_property (XDeviceInfo *device_info,
/* only 1 items to set */
val = value;
}
else if (G_VALUE_TYPE (value) == XFCONF_TYPE_G_VALUE_ARRAY)
else if (G_VALUE_TYPE (value) == G_TYPE_PTR_ARRAY)
{
array = g_value_get_boxed (value);
if (array->len != n_items)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment