image: Fix gcc warnings

This commit is contained in:
Benjamin Otte 2012-01-16 18:39:52 +01:00
parent f04c12bd2c
commit a213b0b33e

View File

@ -788,14 +788,11 @@ void
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);