summaryrefslogtreecommitdiff
path: root/gtk/gtkstatusbar.c
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2008-02-07 16:59:42 +0000
committerMichael Natterer <mitch@src.gnome.org>2008-02-07 16:59:42 +0000
commitac6c3719975925a8506ff7f7b36f359fb3a3298b (patch)
tree49243d2aab8c81e54c86a4180e3ec64ee9565743 /gtk/gtkstatusbar.c
parentd95069aa1f486cda06b0e78d1d67f857d7ef1b59 (diff)
downloadgtk+-ac6c3719975925a8506ff7f7b36f359fb3a3298b.tar.gz
gtk/gtkcellview.c gtk/gtklabel.c gtk/gtklayout.c gtk/gtklist.c
2008-02-07 Michael Natterer <mitch@imendio.com> * gtk/gtkcellview.c * gtk/gtklabel.c * gtk/gtklayout.c * gtk/gtklist.c * gtk/gtkmenu.c * gtk/gtkmenushell.c * gtk/gtkmisc.c * gtk/gtkoptionmenu.c * gtk/gtkplug.c * gtk/gtkpreview.c * gtk/gtkprogress.c * gtk/gtkradiomenuitem.c * gtk/gtkscale.c * gtk/gtkscrolledwindow.c * gtk/gtksocket.c: remove g_return_if_fail() from private functions and virtual function implementations. svn path=/trunk/; revision=19492
Diffstat (limited to 'gtk/gtkstatusbar.c')
-rw-r--r--gtk/gtkstatusbar.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/gtk/gtkstatusbar.c b/gtk/gtkstatusbar.c
index 9fd215411e..3401a6f283 100644
--- a/gtk/gtkstatusbar.c
+++ b/gtk/gtkstatusbar.c
@@ -483,13 +483,9 @@ gtk_statusbar_get_has_resize_grip (GtkStatusbar *statusbar)
static void
gtk_statusbar_destroy (GtkObject *object)
{
- GtkStatusbar *statusbar;
+ GtkStatusbar *statusbar = GTK_STATUSBAR (object);
GSList *list;
- g_return_if_fail (GTK_IS_STATUSBAR (object));
-
- statusbar = GTK_STATUSBAR (object);
-
for (list = statusbar->messages; list; list = list->next)
{
GtkStatusbarMsg *msg;