Blame SOURCES/0001-Remove-the-without-parent-warning.patch

d40255
From abcc4773173ed8becb822971edad3f8d14a7a482 Mon Sep 17 00:00:00 2001
d40255
From: Matthias Clasen <mclasen@redhat.com>
d40255
Date: Mon, 21 May 2018 17:15:41 -0400
d40255
Subject: [PATCH] Remove the "without parent" warning
d40255
d40255
We've had it for a long time, and it hasn't really made
d40255
a difference. And I don't think we are prepared to turn
d40255
this into a hard error. So just drop it.
d40255
---
d40255
 gtk/gtkdialog.c | 3 ---
d40255
 1 file changed, 3 deletions(-)
d40255
d40255
diff --git a/gtk/gtkdialog.c b/gtk/gtkdialog.c
d40255
index 273c370935..0ef0f08b24 100644
d40255
--- a/gtk/gtkdialog.c
d40255
+++ b/gtk/gtkdialog.c
d40255
@@ -776,9 +776,6 @@ gtk_dialog_map (GtkWidget *widget)
d40255
   GtkWindow *window = GTK_WINDOW (widget);
d40255
   GtkDialog *dialog = GTK_DIALOG (widget);
d40255
 
d40255
-  if (gtk_window_get_transient_for (window) == NULL)
d40255
-    g_message ("GtkDialog mapped without a transient parent. This is discouraged.");
d40255
-
d40255
   GTK_WIDGET_CLASS (gtk_dialog_parent_class)->map (widget);
d40255
 
d40255
   focus = gtk_window_get_focus (window);
d40255
-- 
d40255
2.37.0
d40255