summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorRichard Hestilow <hestilow@ximian.com>2002-03-12 21:23:43 +0000
committerRachel Hestilow <hestgray@src.gnome.org>2002-03-12 21:23:43 +0000
commita498ae5ae2b1a2f606877f14bcb4eff17ae41cd6 (patch)
tree8af9e0cee6c45a10aea996033f2106c8770ccd06 /gtk
parentc51692d67383994d165a493745d476f572ef13c9 (diff)
downloadgtk+-a498ae5ae2b1a2f606877f14bcb4eff17ae41cd6.tar.gz
Allow NULL filenames.
Sat Mar 9 18:23:25 2002 Richard Hestilow <hestilow@ximian.com> * gtk/gtkimage.c (gtk_image_set_from_filename): Allow NULL filenames.
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtkimage.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtkimage.c b/gtk/gtkimage.c
index 4b2517e4b1..ffb49be096 100644
--- a/gtk/gtkimage.c
+++ b/gtk/gtkimage.c
@@ -708,7 +708,6 @@ gtk_image_set_from_file (GtkImage *image,
GdkPixbufAnimation *anim;
g_return_if_fail (GTK_IS_IMAGE (image));
- g_return_if_fail (filename != NULL);
g_object_freeze_notify (G_OBJECT (image));