[Goodies-commits] r6699 - in gigolo/trunk: . src

Enrico Troeger enrico at xfce.org
Mon Feb 16 14:29:29 CET 2009


Author: enrico
Date: 2009-02-16 13:29:29 +0000 (Mon, 16 Feb 2009)
New Revision: 6699

Modified:
   gigolo/trunk/ChangeLog
   gigolo/trunk/src/window.c
Log:
Fix a wrong check when checking for existing bookmarks, fixes always disabled 'Create Bookmark' menu item.

Modified: gigolo/trunk/ChangeLog
===================================================================
--- gigolo/trunk/ChangeLog	2009-02-16 13:19:22 UTC (rev 6698)
+++ gigolo/trunk/ChangeLog	2009-02-16 13:29:29 UTC (rev 6699)
@@ -3,6 +3,9 @@
  * src/bookmarks.c:
    Don't strip the square brackets when parsing Obex URIs to prevent
    storing invalid URIs.
+ * src/window.c:
+   Fix a wrong check when checking for existing bookmarks, fixes always
+   disabled 'Create Bookmark' menu item.
 
 
 2009-02-13  Enrico Tröger  <enrico(at)xfce(dot)org>

Modified: gigolo/trunk/src/window.c
===================================================================
--- gigolo/trunk/src/window.c	2009-02-16 13:19:22 UTC (rev 6698)
+++ gigolo/trunk/src/window.c	2009-02-16 13:29:29 UTC (rev 6699)
@@ -261,7 +261,7 @@
 
 		g_free(tmp_uri);
 	}
-	return bm;
+	return (found) ? bm : NULL;
 }
 
 




More information about the Goodies-commits mailing list