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/gtkinfobar.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/gtkinfobar.c')
-rw-r--r-- | gtk/gtkinfobar.c | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/gtk/gtkinfobar.c b/gtk/gtkinfobar.c index e82095e01c..c0a8f37a20 100644 --- a/gtk/gtkinfobar.c +++ b/gtk/gtkinfobar.c @@ -187,11 +187,7 @@ gtk_info_bar_set_property (GObject *object, const GValue *value, GParamSpec *pspec) { - GtkInfoBar *info_bar; - GtkInfoBarPrivate *priv; - - info_bar = GTK_INFO_BAR (object); - priv = info_bar->priv; + GtkInfoBar *info_bar = GTK_INFO_BAR (object); switch (prop_id) { @@ -210,11 +206,7 @@ gtk_info_bar_get_property (GObject *object, GValue *value, GParamSpec *pspec) { - GtkInfoBar *info_bar; - GtkInfoBarPrivate *priv; - - info_bar = GTK_INFO_BAR (object); - priv = info_bar->priv; + GtkInfoBar *info_bar = GTK_INFO_BAR (object); switch (prop_id) { |