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
This commit is contained in:
parent
d53e6bb410
commit
9c24a3dbd9
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue