Commit 9c24a3db authored by Cody Russell's avatar Cody Russell Committed by Cody Russell

Use the correct type check on `window'. We now check GTK_IS_WINDOW rather

2007-08-23  Cody Russell  <bratsche@gnome.org>
        * gtk/gtkwindow.c (gtk_window_group_remove_window: Use the
        correct type check on `window'.  We now check GTK_IS_WINDOW
        rather than GTK_IS_WIDGET. (#461483, Josselin Mouette)


svn path=/trunk/; revision=18681
parent d53e6bb4
2007-08-23 Cody Russell <bratsche@gnome.org>
* gtk/gtkwindow.c (gtk_window_group_remove_window: Use the
correct type check on `window'. We now check GTK_IS_WINDOW
rather than GTK_IS_WIDGET. (#461483, Josselin Mouette)
2007-08-23 Cody Russell <bratsche@gnome.org>
* Makefile.am: Fix make dist failure by changing
......
......@@ -7382,7 +7382,7 @@ gtk_window_group_remove_window (GtkWindowGroup *window_group,
GtkWindow *window)
{
g_return_if_fail (GTK_IS_WINDOW_GROUP (window_group));
g_return_if_fail (GTK_IS_WIDGET (window));
g_return_if_fail (GTK_IS_WINDOW (window));
g_return_if_fail (window->group == window_group);
g_object_ref (window);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment