[Goodies-commits] r2926 - in xfce4-places-plugin/trunk: . panel-plugin
Diego Ongaro
ongardie at xfce.org
Thu Jul 26 23:52:05 CEST 2007
Author: ongardie
Date: 2007-07-26 21:52:05 +0000 (Thu, 26 Jul 2007)
New Revision: 2926
Modified:
xfce4-places-plugin/trunk/ChangeLog
xfce4-places-plugin/trunk/panel-plugin/view.c
Log:
2007-07-26 Diego Ongaro <ongardie at gmail.com>
* Fixed bug #3350 (Expression compares a char* pointer with a
string literal)
Modified: xfce4-places-plugin/trunk/ChangeLog
===================================================================
--- xfce4-places-plugin/trunk/ChangeLog 2007-07-24 23:19:20 UTC (rev 2925)
+++ xfce4-places-plugin/trunk/ChangeLog 2007-07-26 21:52:05 UTC (rev 2926)
@@ -1,3 +1,8 @@
+2007-07-26 Diego Ongaro <ongardie at gmail.com>
+
+ * Fixed bug #3350 (Expression compares a char* pointer with a
+ string literal)
+
2007-07-13 Diego Ongaro <ongardie at gmail.com>
* Merged in umount branch at r1908 (now obsolete):
Modified: xfce4-places-plugin/trunk/panel-plugin/view.c
===================================================================
--- xfce4-places-plugin/trunk/panel-plugin/view.c 2007-07-24 23:19:20 UTC (rev 2925)
+++ xfce4-places-plugin/trunk/panel-plugin/view.c 2007-07-26 21:52:05 UTC (rev 2926)
@@ -603,7 +603,7 @@
places_view_add_menu_item(gpointer _pd, const gchar *label, const gchar *uri, const gchar *icon, GSList *actions)
{
g_assert(_pd != NULL);
- g_return_if_fail(label != NULL && label != "");
+ g_return_if_fail(label != NULL && strlen(label));
PlacesData *pd = (PlacesData*) _pd;
More information about the Goodies-commits
mailing list