diff options
author | Matthias Clasen <mclasen@redhat.com> | 2023-04-08 16:14:52 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2023-04-08 16:14:52 +0000 |
commit | 2c3f82fd01c65071ec554548fe55a41a5d5916e1 (patch) | |
tree | cab4bcd2aa01c7dc616f65012548243655d828f8 | |
parent | 2fde4c9a5f99d48c1ba9cebeffa51de7a0f61a58 (diff) | |
download | gtk+-2c3f82fd01c65071ec554548fe55a41a5d5916e1.tar.gz |
Tweak the wording of the message.
-rw-r--r-- | gtk/gtkwindow.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gtk/gtkwindow.c b/gtk/gtkwindow.c index 8da622543f..2095054f4c 100644 --- a/gtk/gtkwindow.c +++ b/gtk/gtkwindow.c @@ -3811,9 +3811,8 @@ gtk_window_show (GtkWidget *widget) GtkWindow *window = GTK_WINDOW (widget); GtkWindowPrivate *priv = gtk_window_get_instance_private (window); - guint i; - if (!g_list_store_find (toplevel_list, window, &i)) - g_warning("The window is shown after it has been destroyed. This will leave the window in an inconsistent state."); + if (!g_list_store_find (toplevel_list, window, NULL)) + g_warning ("A window is shown after it has been destroyed. This will leave the window in an inconsistent state."); _gtk_widget_set_visible_flag (widget, TRUE); |