diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-02-04 00:25:36 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-02-04 00:25:36 -0500 |
commit | 1e0ea21297b46ac8bc879ff2b23ed9d0d34b5d5f (patch) | |
tree | 044845ed0d2e53bfac78e614dd5d525724dd4275 /gtk/gtkmessagedialog.c | |
parent | e91e75173d0650293345694e263d038ee9f5588b (diff) | |
download | gtk+-1e0ea21297b46ac8bc879ff2b23ed9d0d34b5d5f.tar.gz |
messagedialog: Don't initialize twice
We don't need to set these fields more than once.
Pointed out in https://www.viva64.com/en/b/0793/
Diffstat (limited to 'gtk/gtkmessagedialog.c')
-rw-r--r-- | gtk/gtkmessagedialog.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkmessagedialog.c b/gtk/gtkmessagedialog.c index faa100354e..af61f8cb55 100644 --- a/gtk/gtkmessagedialog.c +++ b/gtk/gtkmessagedialog.c @@ -456,8 +456,6 @@ gtk_message_dialog_init (GtkMessageDialog *dialog) priv->has_primary_markup = FALSE; priv->has_secondary_text = FALSE; - priv->has_primary_markup = FALSE; - priv->has_secondary_text = FALSE; priv->message_type = GTK_MESSAGE_OTHER; gtk_widget_add_css_class (GTK_WIDGET (dialog), "message"); |