mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-17 06:10:15 +00:00
GtkAboutDialog: Use a setter for wrap-license
This avoids redundant notification.
This commit is contained in:
parent
09a589b716
commit
bc46df34fc
@ -779,7 +779,6 @@ gtk_about_dialog_set_property (GObject *object,
|
||||
GParamSpec *pspec)
|
||||
{
|
||||
GtkAboutDialog *about = GTK_ABOUT_DIALOG (object);
|
||||
GtkAboutDialogPrivate *priv = about->priv;
|
||||
|
||||
switch (prop_id)
|
||||
{
|
||||
@ -826,7 +825,7 @@ gtk_about_dialog_set_property (GObject *object,
|
||||
gtk_about_dialog_set_logo_icon_name (about, g_value_get_string (value));
|
||||
break;
|
||||
case PROP_WRAP_LICENSE:
|
||||
priv->wrap_license = g_value_get_boolean (value);
|
||||
gtk_about_dialog_set_wrap_license (about, g_value_get_boolean (value));
|
||||
break;
|
||||
default:
|
||||
G_OBJECT_WARN_INVALID_PROPERTY_ID (object, prop_id, pspec);
|
||||
|
Loading…
Reference in New Issue
Block a user