[gtk+] Window: Also quote Window address in Popover error



commit 01e587da22775eeca41019533ad5b330a1c4dcce
Author: Daniel Boles <dboles src gnome org>
Date:   Thu Aug 3 21:09:25 2017 +0100

    Window: Also quote Window address in Popover error
    
    This is symmetrical with how we already do that for the Popover, and it
    could be useful for debugging.

 gtk/gtkwindow.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c
index cf1e71e..eb86d20 100644
--- a/gtk/gtkwindow.c
+++ b/gtk/gtkwindow.c
@@ -10637,9 +10637,9 @@ _gtk_window_set_popover_position (GtkWindow                   *window,
 
   if (!data)
     {
-      g_warning ("Widget %s(%p) is not a popover of window %s",
+      g_warning ("Widget %s(%p) is not a popover of window %s(%p)",
                  gtk_widget_get_name (popover), popover,
-                 gtk_widget_get_name (GTK_WIDGET (window)));
+                 gtk_widget_get_name (GTK_WIDGET (window)), window);
       return;
     }
 
@@ -10664,9 +10664,9 @@ _gtk_window_get_popover_position (GtkWindow             *window,
 
   if (!data)
     {
-      g_warning ("Widget %s(%p) is not a popover of window %s",
+      g_warning ("Widget %s(%p) is not a popover of window %s(%p)",
                  gtk_widget_get_name (popover), popover,
-                 gtk_widget_get_name (GTK_WIDGET (window)));
+                 gtk_widget_get_name (GTK_WIDGET (window)), window);
       return;
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]