gtk+3: fix dependencies for new gnome/accessibility/at-spi2-core
[oi-userland.git] / components / desktop / mate / mate-power-manager / patches / 08-sleep-hibernate.patch
blobb1ff62778e8adde71835275cf20aa3d8d53c47c9
1 Our ConsoleKit is outdated, it's method's signatures differ
3 --- mate-power-manager-1.18.1/src/egg-console-kit.c.1 2018-01-18 11:47:10.515312133 +0000
4 +++ mate-power-manager-1.18.1/src/egg-console-kit.c 2018-01-18 11:48:59.629824959 +0000
5 @@ -120,7 +120,9 @@
6 g_return_val_if_fail (console->priv->proxy_manager != NULL, FALSE);
8 ret = dbus_g_proxy_call (console->priv->proxy_manager, "Suspend", &error_local,
9 +#ifndef __sun
10 G_TYPE_BOOLEAN, TRUE,
11 +#endif
12 G_TYPE_INVALID, G_TYPE_INVALID);
13 if (!ret) {
14 egg_warning ("Couldn't suspend: %s", error_local->message);
15 @@ -144,7 +146,9 @@
16 g_return_val_if_fail (console->priv->proxy_manager != NULL, FALSE);
18 ret = dbus_g_proxy_call (console->priv->proxy_manager, "Hibernate", &error_local,
19 +#ifndef __sun
20 G_TYPE_BOOLEAN, TRUE,
21 +#endif
22 G_TYPE_INVALID, G_TYPE_INVALID);
23 if (!ret) {
24 egg_warning ("Couldn't hibernate: %s", error_local->message);