Remove (harmless) GLIB CRITICAL
authorAlberto Garcia <agarcia@igalia.com>
Fri, 1 Feb 2008 17:25:53 +0000 (17:25 +0000)
committerAlberto Garcia <agarcia@igalia.com>
Fri, 1 Feb 2008 17:25:53 +0000 (17:25 +0000)
pmo-trunk-r4130

src/modest-ui-dimming-rules.c

index d72d3cc..56c3baa 100644 (file)
@@ -2251,7 +2251,8 @@ _selected_folder_is_any_of_type (ModestWindow *win,
 
 
        /* free */
 
 
        /* free */
-       g_object_unref (folder);
+       if (folder)
+               g_object_unref (folder);
 
        return result;  
 }
 
        return result;  
 }