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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user