From 01e587da22775eeca41019533ad5b330a1c4dcce Mon Sep 17 00:00:00 2001 From: Daniel Boles Date: Thu, 3 Aug 2017 21:09:25 +0100 Subject: [PATCH] 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 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index cf1e71ec5d..eb86d20500 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; }