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/
This commit is contained in:
Matthias Clasen
2021-02-04 00:25:36 -05:00
parent e91e75173d
commit 1e0ea21297

View File

@@ -454,8 +454,6 @@ gtk_message_dialog_init (GtkMessageDialog *dialog)
GtkSettings *settings;
gboolean use_caret;
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;