Fix a copy-paste error

We were notifying can-focus when can-default changes.
Unit tests save the day.
This commit is contained in:
Matthias Clasen 2015-09-14 13:20:36 -04:00
parent 5f0dcef29e
commit afa60da553

View File

@ -8402,7 +8402,7 @@ gtk_widget_set_can_default (GtkWidget *widget,
widget->priv->can_default = can_default;
gtk_widget_queue_resize (widget);
g_object_notify_by_pspec (G_OBJECT (widget), widget_props[PROP_CAN_FOCUS]);
g_object_notify_by_pspec (G_OBJECT (widget), widget_props[PROP_CAN_DEFAULT]);
}
}