summaryrefslogtreecommitdiff
path: root/gtk/gtkimage.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2014-05-24 16:16:32 +0200
committerBenjamin Otte <otte@redhat.com>2014-05-24 16:16:32 +0200
commitb03d54b75f28b38fa1efbb79005970c4d9df9d26 (patch)
tree5079b4716a0d73d91f05b4c57f0ac8f2ec6ece2e /gtk/gtkimage.c
parenta9bcea51182f43d7779473db988b79d2992d2a79 (diff)
downloadgtk+-b03d54b75f28b38fa1efbb79005970c4d9df9d26.tar.gz
image: Remove unused variable
Diffstat (limited to 'gtk/gtkimage.c')
-rw-r--r--gtk/gtkimage.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c
index 31441460e3..df2cc3f003 100644
--- a/gtk/gtkimage.c
+++ b/gtk/gtkimage.c
@@ -1624,7 +1624,6 @@ gtk_image_draw (GtkWidget *widget,
gint x, y, width, height, baseline;
gfloat xalign, yalign;
GtkBorder border;
- GtkStateFlags state;
g_return_val_if_fail (GTK_IS_IMAGE (widget), FALSE);
@@ -1632,7 +1631,6 @@ gtk_image_draw (GtkWidget *widget,
priv = image->priv;
context = gtk_widget_get_style_context (widget);
- state = gtk_widget_get_state_flags (widget);
gtk_render_background (context, cr,
0, 0,