diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c index 11c1be5bc4..800119cf94 100644 --- a/gtk/gtkdialog.c +++ b/gtk/gtkdialog.c @@ -324,7 +324,7 @@ add_response_data (GtkDialog *dialog, if (GTK_IS_BUTTON (child)) signal_id = g_signal_lookup ("clicked", GTK_TYPE_BUTTON); else - signal_id = GTK_WIDGET_GET_CLASS (child)->activate_signal; + signal_id = gtk_widget_class_get_activate_signal (GTK_WIDGET_GET_CLASS (child)); if (signal_id) { @@ -1287,7 +1287,7 @@ gtk_dialog_buildable_custom_finished (GtkBuildable *buildable, if (GTK_IS_BUTTON (object)) signal_id = g_signal_lookup ("clicked", GTK_TYPE_BUTTON); else - signal_id = GTK_WIDGET_GET_CLASS (object)->activate_signal; + signal_id = gtk_widget_class_get_activate_signal (GTK_WIDGET_GET_CLASS (object)); if (signal_id && !is_action) { diff --git a/gtk/gtkinfobar.c b/gtk/gtkinfobar.c index 6cfd14aaa7..608c6b77ff 100644 --- a/gtk/gtkinfobar.c +++ b/gtk/gtkinfobar.c @@ -551,7 +551,7 @@ gtk_info_bar_add_action_widget (GtkInfoBar *info_bar, if (GTK_IS_BUTTON (child)) signal_id = g_signal_lookup ("clicked", GTK_TYPE_BUTTON); else - signal_id = GTK_WIDGET_GET_CLASS (child)->activate_signal; + signal_id = gtk_widget_class_get_activate_signal (GTK_WIDGET_GET_CLASS (child)); if (signal_id) { @@ -1019,7 +1019,7 @@ gtk_info_bar_buildable_custom_finished (GtkBuildable *buildable, if (GTK_IS_BUTTON (object)) signal_id = g_signal_lookup ("clicked", GTK_TYPE_BUTTON); else - signal_id = GTK_WIDGET_GET_CLASS (object)->activate_signal; + signal_id = gtk_widget_class_get_activate_signal (GTK_WIDGET_GET_CLASS (object)); if (signal_id) {