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:
Behdad Esfahbod 2007-06-14 16:03:30 +00:00 • committed by Behdad Esfahbod
commit 2fe1850d39
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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;
}
/**