aboutsummaryrefslogtreecommitdiff
path: root/src/dbus-upower.c
diff options
context:
space:
mode:
authorSebastien Bacher <seb128@ubuntu.com>2012-08-23 16:29:59 +0200
committerSebastien Bacher <seb128@ubuntu.com>2012-08-23 16:29:59 +0200
commitc436f6348a087b7b55aa96948b6a12a4bb6f9015 (patch)
tree9f90b9bd30f4c2ccea4c1ce78df9c74946c87970 /src/dbus-upower.c
parent7a6621d316ea0825de80548f6d8db81e98f56099 (diff)
parentda6785e18dc73a968ce57055754bcc2718d4e131 (diff)
downloadayatana-indicator-session-c436f6348a087b7b55aa96948b6a12a4bb6f9015.tar.gz
ayatana-indicator-session-c436f6348a087b7b55aa96948b6a12a4bb6f9015.tar.bz2
ayatana-indicator-session-c436f6348a087b7b55aa96948b6a12a4bb6f9015.zip
* New upstream release:
- Menu items for users are too tall (lp: #1024395) - should update glib requirement (lp: #1023533) * Updating package to use current standards (dh9)
Diffstat (limited to 'src/dbus-upower.c')
-rw-r--r--src/dbus-upower.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/src/dbus-upower.c b/src/dbus-upower.c
index 687849b..1cdcc88 100644
--- a/src/dbus-upower.c
+++ b/src/dbus-upower.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.
*/
@@ -642,7 +642,7 @@ static const _ExtendedGDBusInterfaceInfo _dbus_upower_interface_info =
GDBusInterfaceInfo *
dbus_upower_interface_info (void)
{
- return (GDBusInterfaceInfo *) &_dbus_upower_interface_info;
+ return (GDBusInterfaceInfo *) &_dbus_upower_interface_info.parent_struct;
}
/**
@@ -2117,7 +2117,7 @@ dbus_upower_proxy_set_property (GObject *object,
g_variant_new ("(ssv)", "org.freedesktop.UPower", info->parent_struct.name, variant),
G_DBUS_CALL_FLAGS_NONE,
-1,
- NULL, (GAsyncReadyCallback) dbus_upower_proxy_set_property_cb, (gpointer) info);
+ NULL, (GAsyncReadyCallback) dbus_upower_proxy_set_property_cb, (GDBusPropertyInfo *) &info->parent_struct);
g_variant_unref (variant);
}
@@ -2134,7 +2134,7 @@ dbus_upower_proxy_g_signal (GDBusProxy *proxy,
guint num_params;
guint n;
guint signal_id;
- info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_dbus_upower_interface_info, signal_name);
+ info = (_ExtendedGDBusSignalInfo *) g_dbus_interface_info_lookup_signal ((GDBusInterfaceInfo *) &_dbus_upower_interface_info.parent_struct, signal_name);
if (info == NULL)
return;
num_params = g_variant_n_children (parameters);
@@ -2176,7 +2176,7 @@ dbus_upower_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 *) &_dbus_upower_interface_info, key);
+ info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_dbus_upower_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);
@@ -2184,7 +2184,7 @@ dbus_upower_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 *) &_dbus_upower_interface_info, invalidated_properties[n]);
+ info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_dbus_upower_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);
@@ -2620,7 +2620,7 @@ _dbus_upower_skeleton_handle_get_property (
_ExtendedGDBusPropertyInfo *info;
GVariant *ret;
ret = NULL;
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_dbus_upower_interface_info, property_name);
+ info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_dbus_upower_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)
@@ -2654,7 +2654,7 @@ _dbus_upower_skeleton_handle_set_property (
_ExtendedGDBusPropertyInfo *info;
gboolean ret;
ret = FALSE;
- info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_dbus_upower_interface_info, property_name);
+ info = (_ExtendedGDBusPropertyInfo *) g_dbus_interface_info_lookup_property ((GDBusInterfaceInfo *) &_dbus_upower_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)
@@ -2943,14 +2943,14 @@ _dbus_upower_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.UPower",
&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)),