aboutsummaryrefslogtreecommitdiff
path: root/src/freedesktop-interfaces.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/freedesktop-interfaces.c')
-rw-r--r--src/freedesktop-interfaces.c15
1 files changed, 10 insertions, 5 deletions
diff --git a/src/freedesktop-interfaces.c b/src/freedesktop-interfaces.c
index 287c3e0..e68fd67 100644
--- a/src/freedesktop-interfaces.c
+++ b/src/freedesktop-interfaces.c
@@ -1,4 +1,4 @@
-/* freedesktop-interfaces.c generated by valac 0.12.1, the Vala compiler
+/* freedesktop-interfaces.c generated by valac 0.14.2, the Vala compiler
* generated from freedesktop-interfaces.vala, do not modify */
/*
@@ -184,7 +184,8 @@ static void g_cclosure_user_marshal_VOID__STRING_STRING_STRING (GClosure * closu
typedef void (*GMarshalFunc_VOID__STRING_STRING_STRING) (gpointer data1, const char* arg_1, const char* arg_2, const char* arg_3, gpointer data2);
register GMarshalFunc_VOID__STRING_STRING_STRING callback;
register GCClosure * cc;
- register gpointer data1, data2;
+ register gpointer data1;
+ register gpointer data2;
cc = (GCClosure *) closure;
g_return_if_fail (n_param_values == 4);
if (G_CCLOSURE_SWAP_DATA (closure)) {
@@ -374,7 +375,7 @@ static void _dbus_free_desktop_object_list_names_ready (GObject * source_object,
_tmp84_++;
}
g_variant_builder_add_value (&_reply_builder, g_variant_builder_end (&_tmp85_));
- result = (_vala_array_free ( result, result_length1, (GDestroyNotify) g_free), NULL);
+ result = (_vala_array_free (result, result_length1, (GDestroyNotify) g_free), NULL);
_reply = g_variant_builder_end (&_reply_builder);
g_dbus_message_set_body (_reply_message, _reply);
g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
@@ -449,6 +450,7 @@ guint free_desktop_object_register_object (gpointer object, GDBusConnection* con
static void _free_desktop_object_unregister_object (gpointer user_data) {
gpointer* data;
data = user_data;
+ g_signal_handlers_disconnect_by_func (data[0], _dbus_free_desktop_object_name_owner_changed, data);
g_object_unref (data[0]);
g_object_unref (data[1]);
g_free (data[2]);
@@ -457,6 +459,7 @@ static void _free_desktop_object_unregister_object (gpointer user_data) {
gchar* free_desktop_introspectable_Introspect (FreeDesktopIntrospectable* self, GError** error) {
+ g_return_val_if_fail (self != NULL, NULL);
return FREE_DESKTOP_INTROSPECTABLE_GET_INTERFACE (self)->Introspect (self, error);
}
@@ -553,7 +556,7 @@ static void _dbus_free_desktop_introspectable_Introspect (FreeDesktopIntrospecta
_reply_message = g_dbus_message_new_method_reply (g_dbus_method_invocation_get_message (invocation));
g_variant_builder_init (&_reply_builder, G_VARIANT_TYPE_TUPLE);
g_variant_builder_add_value (&_reply_builder, g_variant_new_string (result));
- _g_free0 ( result);
+ _g_free0 (result);
_reply = g_variant_builder_end (&_reply_builder);
g_dbus_message_set_body (_reply_message, _reply);
g_dbus_connection_send_message (g_dbus_method_invocation_get_connection (invocation), _reply_message, G_DBUS_SEND_MESSAGE_FLAGS_NONE, NULL, NULL);
@@ -622,7 +625,8 @@ static void g_cclosure_user_marshal_VOID__STRING_BOXED_BOXED_INT (GClosure * clo
typedef void (*GMarshalFunc_VOID__STRING_BOXED_BOXED_INT) (gpointer data1, const char* arg_1, gpointer arg_2, gpointer arg_3, gint arg_4, gpointer data2);
register GMarshalFunc_VOID__STRING_BOXED_BOXED_INT callback;
register GCClosure * cc;
- register gpointer data1, data2;
+ register gpointer data1;
+ register gpointer data2;
cc = (GCClosure *) closure;
g_return_if_fail (n_param_values == 5);
if (G_CCLOSURE_SWAP_DATA (closure)) {
@@ -824,6 +828,7 @@ guint free_desktop_properties_register_object (gpointer object, GDBusConnection*
static void _free_desktop_properties_unregister_object (gpointer user_data) {
gpointer* data;
data = user_data;
+ g_signal_handlers_disconnect_by_func (data[0], _dbus_free_desktop_properties_properties_changed, data);
g_object_unref (data[0]);
g_object_unref (data[1]);
g_free (data[2]);