diff options
author | Matthias Clasen <mclasen@redhat.com> | 2011-01-23 21:50:39 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2011-01-23 21:51:38 -0500 |
commit | d9fcc4c630f3668dd014c258c2deb22d61e438d0 (patch) | |
tree | 8b08e3e470f98aaa23173d19a6ab99fc4d12691d /gtk/gtkstatusbar.c | |
parent | 94c4a312c1eceb352dea1895f868f9943735e1aa (diff) | |
download | gtk+-d9fcc4c630f3668dd014c258c2deb22d61e438d0.tar.gz |
Silence new gcc warnings
gcc 4.6.0 has started to warn about set-but-unused variables.
So don't do that, then.
Diffstat (limited to 'gtk/gtkstatusbar.c')
-rw-r--r-- | gtk/gtkstatusbar.c | 18 |
1 files changed, 8 insertions, 10 deletions
diff --git a/gtk/gtkstatusbar.c b/gtk/gtkstatusbar.c index 334c9a4873..6483f321f9 100644 --- a/gtk/gtkstatusbar.c +++ b/gtk/gtkstatusbar.c @@ -125,10 +125,8 @@ G_DEFINE_TYPE_WITH_CODE (GtkStatusbar, gtk_statusbar, GTK_TYPE_HBOX, static void gtk_statusbar_class_init (GtkStatusbarClass *class) { - GObjectClass *gobject_class; GtkWidgetClass *widget_class; - gobject_class = (GObjectClass *) class; widget_class = (GtkWidgetClass *) class; widget_class->realize = gtk_statusbar_realize; @@ -139,12 +137,12 @@ gtk_statusbar_class_init (GtkStatusbarClass *class) class->text_pushed = gtk_statusbar_update; class->text_popped = gtk_statusbar_update; - /** + /** * GtkStatusbar::text-pushed: - * @statusbar: the object which received the signal. - * @context_id: the context id of the relevant message/statusbar. - * @text: the message that was pushed. - * + * @statusbar: the object which received the signal + * @context_id: the context id of the relevant message/statusbar + * @text: the message that was pushed + * * Is emitted whenever a new message gets pushed onto a statusbar's stack. */ statusbar_signals[SIGNAL_TEXT_PUSHED] = @@ -160,9 +158,9 @@ gtk_statusbar_class_init (GtkStatusbarClass *class) /** * GtkStatusbar::text-popped: - * @statusbar: the object which received the signal. - * @context_id: the context id of the relevant message/statusbar. - * @text: the message that was just popped. + * @statusbar: the object which received the signal + * @context_id: the context id of the relevant message/statusbar + * @text: the message that was just popped * * Is emitted whenever a new message is popped off a statusbar's stack. */ |