summaryrefslogtreecommitdiff
path: root/gtk/gtkimage.c
diff options
context:
space:
mode:
authorBenjamin Otte <otte@redhat.com>2012-01-16 18:39:52 +0100
committerBenjamin Otte <otte@redhat.com>2012-01-16 18:39:52 +0100
commita213b0b33e4ab4343546ba0e09d9533e077ac13d (patch)
tree03cf153af41f060573664b4eb3ab92705e53d5a8 /gtk/gtkimage.c
parentf04c12bd2cefb692d6f56f2952f91d13dfe64202 (diff)
downloadgtk+-a213b0b33e4ab4343546ba0e09d9533e077ac13d.tar.gz
image: Fix gcc warnings
Diffstat (limited to 'gtk/gtkimage.c')
-rw-r--r--gtk/gtkimage.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c
index e7fbf09fa5..442e9cb8ff 100644
--- a/gtk/gtkimage.c
+++ b/gtk/gtkimage.c
@@ -785,17 +785,14 @@ gtk_image_set_from_file (GtkImage *image,
* See gtk_image_new_from_resource() for details.
**/
void
-gtk_image_set_from_resource (GtkImage *image,
- const gchar *resource_path)
+gtk_image_set_from_resource (GtkImage *image,
+ const gchar *resource_path)
{
- GtkImagePrivate *priv;
GdkPixbuf *pixbuf;
GInputStream *stream;
g_return_if_fail (GTK_IS_IMAGE (image));
- priv = image->priv;
-
g_object_freeze_notify (G_OBJECT (image));
gtk_image_clear (image);