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

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