summaryrefslogtreecommitdiff
path: root/gtk/gtkimage.c
diff options
context:
space:
mode:
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);