Fix a stupid oversight.

This commit is contained in:
Matthias Clasen 2004-11-17 01:21:16 +00:00
parent f266788e19
commit 283ce68f83
5 changed files with 21 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2004-11-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkbutton.c: Don't return a relief when a
widget is expected. (#158470, Kazuki IWAMOTO)
Tue Nov 16 19:44:26 2004 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkevents-x11.c gdk/x11/gdkim-x11.c gdk/x11/gdkwindow-x11.c:

View File

@ -1,3 +1,8 @@
2004-11-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkbutton.c: Don't return a relief when a
widget is expected. (#158470, Kazuki IWAMOTO)
Tue Nov 16 19:44:26 2004 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkevents-x11.c gdk/x11/gdkim-x11.c gdk/x11/gdkwindow-x11.c:

View File

@ -1,3 +1,8 @@
2004-11-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkbutton.c: Don't return a relief when a
widget is expected. (#158470, Kazuki IWAMOTO)
Tue Nov 16 19:44:26 2004 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkevents-x11.c gdk/x11/gdkim-x11.c gdk/x11/gdkwindow-x11.c:

View File

@ -1,3 +1,8 @@
2004-11-17 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkbutton.c: Don't return a relief when a
widget is expected. (#158470, Kazuki IWAMOTO)
Tue Nov 16 19:44:26 2004 Owen Taylor <otaylor@redhat.com>
* gdk/x11/gdkevents-x11.c gdk/x11/gdkim-x11.c gdk/x11/gdkwindow-x11.c:

View File

@ -1779,7 +1779,7 @@ gtk_button_get_image (GtkButton *button)
{
GtkButtonPrivate *priv;
g_return_val_if_fail (GTK_IS_BUTTON (button), GTK_RELIEF_NORMAL);
g_return_val_if_fail (GTK_IS_BUTTON (button), NULL);
priv = GTK_BUTTON_GET_PRIVATE (button);