Lines Matching refs:proxy
86 GDBusProxy *proxy;
390 result = g_dbus_connection_call_sync (g_dbus_proxy_get_connection (object->proxy),
392 g_dbus_proxy_get_object_path (object->proxy),
402 g_warning ("Error updating user %s: %s", g_dbus_proxy_get_object_path (object->proxy), error->message);
460 user_signal_cb (GDBusProxy *proxy, gchar *sender_name, gchar *signal_name, GVariant *parameters, UserAccountObject *object)
466 g_debug ("User %s changed", g_dbus_proxy_get_object_path (object->proxy));
478 GDBusProxy *proxy;
482 proxy = g_dbus_proxy_new_for_bus_sync (G_BUS_TYPE_SYSTEM,
493 if (!proxy)
499 object->proxy = proxy;
500 g_signal_connect (proxy, "g-signal", G_CALLBACK (user_signal_cb), object);
511 g_object_unref (object->proxy);
524 if (strcmp (g_dbus_proxy_get_object_path (object->proxy), path) == 0)
532 user_accounts_signal_cb (GDBusProxy *proxy, gchar *sender_name, gchar *signal_name, GVariant *parameters, LightDMUserList *user_list)
637 display_manager_signal_cb (GDBusProxy *proxy, gchar *sender_name, gchar *signal_name, GVariant *parameters, LightDMUserList *user_list)
1164 get_property (GDBusProxy *proxy, const gchar *property)
1168 if (!proxy)
1171 answer = g_dbus_proxy_get_cached_property (proxy, property);
1183 get_boolean_property (GDBusProxy *proxy, const gchar *property)
1188 answer = get_property (proxy, property);
1204 get_string_property (GDBusProxy *proxy, const gchar *property)
1209 answer = get_property (proxy, property);
1230 get_string_array_property (GDBusProxy *proxy, const gchar *property)
1235 if (!proxy)
1238 answer = g_dbus_proxy_get_cached_property (proxy, property);
1269 /* First, find AccountObject proxy */
1282 /* We have proxy, let's grab some properties */
1285 priv->language = get_string_property (account->proxy, "Language");
1288 priv->session = get_string_property (account->proxy, "XSession");
1290 value = get_string_array_property (account->proxy, "XKeyboardLayouts");
1302 priv->has_messages = get_boolean_property (account->proxy, "XHasMessages");