diff --git a/setup-gnome.cpp b/setup-gnome.cpp index 5690af1..5639a5a 100644 --- a/setup-gnome.cpp +++ b/setup-gnome.cpp @@ -106,7 +106,7 @@ int setup_gnome(int lockfile_arg) { } // sync on xsession change - GDBusProxy *session_manager_properties = g_dbus_proxy_new_for_bus_sync(G_BUS_TYPE_SESSION, + session_manager_properties = g_dbus_proxy_new_for_bus_sync(G_BUS_TYPE_SESSION, G_DBUS_PROXY_FLAGS_NONE, NULL, "org.gnome.SessionManager", "/org/gnome/SessionManager", @@ -122,7 +122,7 @@ int setup_gnome(int lockfile_arg) { } // sync on wakeup - GDBusProxy *display_config_properties = g_dbus_proxy_new_for_bus_sync(G_BUS_TYPE_SESSION, + display_config_properties = g_dbus_proxy_new_for_bus_sync(G_BUS_TYPE_SESSION, G_DBUS_PROXY_FLAGS_NONE, NULL, "org.gnome.Mutter.DisplayConfig", "/org/gnome/Mutter/DisplayConfig", diff --git a/setup-kde.cpp b/setup-kde.cpp index 35d0cda..46601ed 100644 --- a/setup-kde.cpp +++ b/setup-kde.cpp @@ -205,7 +205,7 @@ int setup_kde(int lockfile_arg) { } // sync on config and xsession change - GDBusProxy *kded5_modules_touchpad = g_dbus_proxy_new_for_bus_sync(G_BUS_TYPE_SESSION, + kded5_modules_touchpad = g_dbus_proxy_new_for_bus_sync(G_BUS_TYPE_SESSION, G_DBUS_PROXY_FLAGS_NONE, NULL, "org.kde.kded5", object_path, @@ -221,7 +221,7 @@ int setup_kde(int lockfile_arg) { } // sync on wakeup - GDBusProxy *solid_power_management = g_dbus_proxy_new_for_bus_sync(G_BUS_TYPE_SESSION, + solid_power_management = g_dbus_proxy_new_for_bus_sync(G_BUS_TYPE_SESSION, G_DBUS_PROXY_FLAGS_NONE, NULL, "org.kde.Solid.PowerManagement", "/org/kde/Solid/PowerManagement/Actions/SuspendSession",