[maemo-commits] [maemo-commits] r9585 - in projects/haf/branches/maemo-af-desktop/hildon-desktop: . libhildondesktop

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Fri Feb 2 17:37:51 EET 2007
Author: jobi
Date: 2007-02-02 17:37:50 +0200 (Fri, 02 Feb 2007)
New Revision: 9585

Modified:
   projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog
   projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/hildon-desktop-item.c
Log:

2007-02-02  Johan Bilien  <johan.bilien at nokia.com>

	* libhildondesktop/hildon-desktop-item.c: Fixed
	hildon_desktop_find_by_id to properly return != 0 if found



Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog	2007-02-02 15:36:54 UTC (rev 9584)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog	2007-02-02 15:37:50 UTC (rev 9585)
@@ -1,5 +1,10 @@
 2007-02-02  Johan Bilien  <johan.bilien at nokia.com>
 
+	* libhildondesktop/hildon-desktop-item.c: Fixed
+	hildon_desktop_find_by_id to properly return != 0 if found
+
+2007-02-02  Johan Bilien  <johan.bilien at nokia.com>
+
 	* libhildondesktop/hildon-home-applet.c:
 	- do not unref the widget's window in unrealize, because
 	this is done by the parent class

Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/hildon-desktop-item.c
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/hildon-desktop-item.c	2007-02-02 15:36:54 UTC (rev 9584)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/libhildondesktop/hildon-desktop-item.c	2007-02-02 15:37:50 UTC (rev 9585)
@@ -270,5 +270,5 @@
   if (!item->id)
     return -1;
 
-  return g_str_equal (item->id, id);
+  return !g_str_equal (item->id, id);
 }


More information about the maemo-commits mailing list