diff options
Diffstat (limited to 'libupower-glib/up-device.c')
-rw-r--r-- | libupower-glib/up-device.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/libupower-glib/up-device.c b/libupower-glib/up-device.c index 918f51a..ce826c6 100644 --- a/libupower-glib/up-device.c +++ b/libupower-glib/up-device.c @@ -563,6 +563,10 @@ out: return ret; } +/* FIXME: GValueArray is deprecated in GLib 2.33+, but we need to convert to + * GDBus to get rid of it */ +#pragma GCC diagnostic ignored "-Wdeprecated-declarations" + /** * up_device_get_history_sync: * @device: a #UpDevice instance. @@ -728,6 +732,8 @@ out: return array; } +#pragma GCC diagnostic error "-Wdeprecated-declarations" + /* * up_device_set_property: */ |