image: Draw the image again

An important line of code was removed in
54d5b426fc that lead to an undefined
variable. Add that line back.
This commit is contained in:
Benjamin Otte 2014-05-24 19:38:56 +02:00
parent 1cbace5f68
commit 0430ae0ca5

View File

@ -1623,14 +1623,17 @@ gtk_image_draw (GtkWidget *widget,
GtkStyleContext *context;
gint x, y, width, height, baseline;
gfloat xalign, yalign;
GtkStateFlags state;
GtkBorder border;
g_return_val_if_fail (GTK_IS_IMAGE (widget), FALSE);
image = GTK_IMAGE (widget);
priv = image->priv;
context = gtk_widget_get_style_context (widget);
state = gtk_widget_get_state_flags (GTK_WIDGET (image));
gtk_style_context_get_border (context, state, &border);
gtk_render_background (context, cr,
0, 0,