Fix compiler warning. (#447586, Kazuki IWAMOTO)
2007-06-14 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtknotebook.c (gtk_notebook_get_group_id): Fix compiler
warning. (#447586, Kazuki IWAMOTO)
svn path=/trunk/; revision=18134
This commit is contained in:
parent
eb1876f305
commit
2fe1850d39
2 changed files with 6 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2007-06-14 Behdad Esfahbod <behdad@gnome.org>
|
||||
|
||||
* gtk/gtknotebook.c (gtk_notebook_get_group_id): Fix compiler
|
||||
warning. (#447586, Kazuki IWAMOTO)
|
||||
|
||||
2007-06-14 Tor Lillqvist <tml@novell.com>
|
||||
|
||||
* gdk/win32/gdkwindow-win32.c (RegisterGdkClass): Use
|
||||
|
|
|
|||
|
|
@ -7344,7 +7344,7 @@ gtk_notebook_get_group_id (GtkNotebook *notebook)
|
|||
priv = GTK_NOTEBOOK_GET_PRIVATE (notebook);
|
||||
|
||||
/* substract 1 to get rid of the -1/NULL difference */
|
||||
return GPOINTER_TO_INT (priv->group - 1);
|
||||
return GPOINTER_TO_INT (priv->group) - 1;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Reference in a new issue