mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 13:41:07 +00:00
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.
This commit is contained in:
parent
1f1e156007
commit
01e587da22
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user