anjuta r4706 - in trunk: . plugins/project-manager



Author: mcora
Date: Fri Feb  6 21:56:07 2009
New Revision: 4706
URL: http://svn.gnome.org/viewvc/anjuta?rev=4706&view=rev

Log:
	* plugins/project-manager/gbf-project-util.c
	(browse_button_clicked_cb):
	fixed #570245 â gbf gio-critical g_file_query_exists

Modified:
   trunk/ChangeLog
   trunk/plugins/project-manager/gbf-project-util.c

Modified: trunk/plugins/project-manager/gbf-project-util.c
==============================================================================
--- trunk/plugins/project-manager/gbf-project-util.c	(original)
+++ trunk/plugins/project-manager/gbf-project-util.c	Fri Feb  6 21:56:07 2009
@@ -564,7 +564,7 @@
 	tmp = g_file_get_parent (gio_file);
     g_free (uri);
 	uri = NULL;
-	if (g_file_query_exists (tmp, NULL))
+	if (tmp && g_file_query_exists (tmp, NULL))
 	{
 	    uri = g_file_get_uri (tmp);
 	}



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]