Commit 020ef16c authored by Georges Basile Stavracas Neto's avatar Georges Basile Stavracas Neto
Browse files

Don't use g_clear_signal_handler()

Not everyone has an updated GLib for that.
parent 99a36503
...@@ -146,7 +146,9 @@ dbus_call_data_free (dbus_call_data *call) ...@@ -146,7 +146,9 @@ dbus_call_data_free (dbus_call_data *call)
if (call->signal_id) if (call->signal_id)
g_dbus_connection_signal_unsubscribe (call->xdg->connection, call->signal_id); g_dbus_connection_signal_unsubscribe (call->xdg->connection, call->signal_id);
g_clear_signal_handler (&call->cancelled_id, call->xdg->cancellable); if (call->cancelled_id > 0)
g_signal_handler_disconnect (call->xdg->cancellable, call->cancelled_id);
g_clear_pointer (&call->request_path, g_free); g_clear_pointer (&call->request_path, g_free);
g_free (call); g_free (call);
} }
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment