Move "active" code out of debug statements
[lttv.git] / lttv / modules / gui / resourceview / drawitem.c
index d97628b021f3b9abed37236c0693a612328662b5..5397f25bc8f3ecccdcf6e98983efe7afc6e83b73 100644 (file)
@@ -219,11 +219,13 @@ gboolean draw_icon( void *hook_data, void *call_data)
   LttvAttributeValue value;
   gchar icon_name[MAX_PATH_LEN] = "icons/";
   IconStruct *icon_info;
+  gboolean retval;
 
   strcat(icon_name, properties->icon_name);
   
-  g_assert(lttv_iattribute_find_by_path(attributes, icon_name,
-      LTTV_POINTER, &value));
+  retval= lttv_iattribute_find_by_path(attributes, icon_name, LTTV_POINTER,
+         &value);
+  g_assert(retval);
   if(unlikely(*(value.v_pointer) == NULL))
   {
     *(value.v_pointer) = icon_info = g_new(IconStruct,1);
This page took 0.021974 seconds and 4 git commands to generate.