summaryrefslogtreecommitdiff
path: root/gladeui/glade-property-class.c
diff options
context:
space:
mode:
Diffstat (limited to 'gladeui/glade-property-class.c')
-rw-r--r--gladeui/glade-property-class.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/gladeui/glade-property-class.c b/gladeui/glade-property-class.c
index 38c021f6..ad1a5574 100644
--- a/gladeui/glade-property-class.c
+++ b/gladeui/glade-property-class.c
@@ -760,6 +760,8 @@ glade_property_class_make_object_from_string (GladePropertyClass *property_class
{
GdkPixbuf *pixbuf;
+ if (*string == '\0') return NULL;
+
fullpath = glade_project_resource_fullpath (project, string);
if ((pixbuf = gdk_pixbuf_new_from_file (fullpath, NULL)) == NULL)