Commit 56133a1f authored by Timm Bäder's avatar Timm Bäder 👎

GtkDialog: Connect to activate signals only once

If the widget is an action widget, it's been previously added with
gtk_dialog_add_action_widget, which calls add_response_data on it, which
in turn connects to the clicked/activate signal of that widget, so we
don't need to connect to that signal a second time in
parent 17f48e3a
......@@ -1840,7 +1840,7 @@ gtk_dialog_buildable_custom_finished (GtkBuildable *buildable,
signal_id = GTK_WIDGET_GET_CLASS (object)->activate_signal;
if (signal_id)
if (signal_id && !is_action)
GClosure *closure;
Markdown is supported
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