aboutsummaryrefslogtreecommitdiff
path: root/src/dbus-consolekit-session.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dbus-consolekit-session.c')
-rw-r--r--src/dbus-consolekit-session.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/dbus-consolekit-session.c b/src/dbus-consolekit-session.c
index 02b5fdd..ecb5173 100644
--- a/src/dbus-consolekit-session.c
+++ b/src/dbus-consolekit-session.c
@@ -1,5 +1,5 @@
/*
- * Generated by gdbus-codegen 2.33.3. DO NOT EDIT.
+ * Generated by gdbus-codegen 2.33.10. DO NOT EDIT.
*
* The license of this code is the same as for the source it was derived from.
*/
@@ -1018,7 +1018,7 @@ static const _ExtendedGDBusInterfaceInfo _console_kit_session_interface_info =
GDBusInterfaceInfo *
console_kit_session_interface_info (void)
{
- return (GDBusInterfaceInfo *) &_console_kit_session_interface_info;
+ return (GDBusInterfaceInfo *) &_console_kit_session_interface_info.parent_struct;
}
/**
@@ -4476,7 +4476,7 @@ console_kit_session_proxy_set_property (GObject *object,
g_variant_new ("(ssv)", "org.freedesktop.ConsoleKit.Session", info->parent_struct.name, variant),
G_DBUS_CALL_FLAGS_NONE,
-1,
- NULL, (GAsyncReadyCallback) console_kit_session_proxy_set_property_cb, (gpointer) info);
+ NULL, (GAsyncReadyCallback) console_kit_session_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
g_variant_unref (variant);
}
@@ -4493,7 +4493,7 @@ console_kit_session_proxy_g_signal (GDBusProxy *proxy,
guint num_params;
guint n;
guint signal_id;
- info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_console_kit_session_interface_info, signal_name);
+ info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_console_kit_session_interface_info.parent_struct, signal_name);
if (info == NULL)
return;
num_params = g_variant_n_children (parameters);
@@ -4535,7 +4535,7 @@ console_kit_session_proxy_g_properties_changed (GDBusProxy *_proxy,
g_variant_get (changed_properties, "a{sv}", &iter);
while (g_variant_iter_next (iter, "{&sv}", &key, NULL))
{
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_console_kit_session_interface_info, key);
+ info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_console_kit_session_interface_info.parent_struct, key);
g_datalist_remove_data (&proxy->priv->qdata, key);
if (info != NULL)
g_object_notify (G_OBJECT (proxy), info->hyphen_name);
@@ -4543,7 +4543,7 @@ console_kit_session_proxy_g_properties_changed (GDBusProxy *_proxy,
g_variant_iter_free (iter);
for (n = 0; invalidated_properties[n] != NULL; n++)
{
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_console_kit_session_interface_info, invalidated_properties[n]);
+ info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_console_kit_session_interface_info.parent_struct, invalidated_properties[n]);
g_datalist_remove_data (&proxy->priv->qdata, invalidated_properties[n]);
if (info != NULL)
g_object_notify (G_OBJECT (proxy), info->hyphen_name);
@@ -5027,7 +5027,7 @@ _console_kit_session_skeleton_handle_get_property (
_ExtendedGDBusPropertyInfo *info;
GVariant *ret;
ret = NULL;
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_console_kit_session_interface_info, property_name);
+ info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_console_kit_session_interface_info.parent_struct, property_name);
g_assert (info != NULL);
pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
if (pspec == NULL)
@@ -5061,7 +5061,7 @@ _console_kit_session_skeleton_handle_set_property (
_ExtendedGDBusPropertyInfo *info;
gboolean ret;
ret = FALSE;
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_console_kit_session_interface_info, property_name);
+ info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_console_kit_session_interface_info.parent_struct, property_name);
g_assert (info != NULL);
pspec = g_object_class_find_property (G_OBJECT_GET_CLASS (skeleton), info->hyphen_name);
if (pspec == NULL)
@@ -5304,14 +5304,14 @@ _console_kit_session_emit_changed (gpointer user_data)
}
if (num_changes > 0)
{
- GList *connections, *l;
+ GList *connections, *ll;
GVariant *signal_variant;
signal_variant = g_variant_ref_sink (g_variant_new ("(sa{sv}as)", "org.freedesktop.ConsoleKit.Session",
&builder, &invalidated_builder));
connections = g_dbus_interface_skeleton_get_connections (G_DBUS_INTERFACE_SKELETON (skeleton));
- for (l = connections; l != NULL; l = l->next)
+ for (ll = connections; ll != NULL; ll = ll->next)
{
- GDBusConnection *connection = l->data;
+ GDBusConnection *connection = ll->data;
g_dbus_connection_emit_signal (connection,
NULL, g_dbus_interface_skeleton_get_object_path (G_DBUS_INTERFACE_SKELETON (skeleton)),