summaryrefslogtreecommitdiff
path: root/gtk/gtkinfobar.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkinfobar.c')
-rw-r--r--gtk/gtkinfobar.c12
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)
{