[Goodies-commits] r3452 - in xfce4-places-plugin/trunk: . panel-plugin

Diego Ongaro ongardie at xfce.org
Thu Oct 25 23:29:16 CEST 2007


Author: ongardie
Date: 2007-10-25 21:29:16 +0000 (Thu, 25 Oct 2007)
New Revision: 3452

Modified:
   xfce4-places-plugin/trunk/ChangeLog
   xfce4-places-plugin/trunk/panel-plugin/model.c
Log:
2007-10-25	Diego Ongaro <ongardie at gmail.com>

* model.c: Don't debug (possibly invalid) bookmark label on free


Modified: xfce4-places-plugin/trunk/ChangeLog
===================================================================
--- xfce4-places-plugin/trunk/ChangeLog	2007-10-25 20:32:03 UTC (rev 3451)
+++ xfce4-places-plugin/trunk/ChangeLog	2007-10-25 21:29:16 UTC (rev 3452)
@@ -1,3 +1,7 @@
+2007-10-25	Diego Ongaro <ongardie at gmail.com>
+
+	* model.c: Don't debug (possibly invalid) bookmark label on free
+
 2007-10-22	Diego Ongaro <ongardie at gmail.com>
 
 	* configure.ac, po/POTFILES.in: fix make distcheck errors

Modified: xfce4-places-plugin/trunk/panel-plugin/model.c
===================================================================
--- xfce4-places-plugin/trunk/panel-plugin/model.c	2007-10-25 20:32:03 UTC (rev 3451)
+++ xfce4-places-plugin/trunk/panel-plugin/model.c	2007-10-25 21:29:16 UTC (rev 3452)
@@ -72,7 +72,7 @@
     bookmark = g_new0(PlacesBookmark, 1);
     bookmark->label = label;
 
-    DBG("bookmarks: %02d %x %s", bookmarks++, (gint) bookmark, label);
+    DBG("bookmarks: %02d %p %s", bookmarks++, bookmark, label);
 
     return bookmark;
 }
@@ -82,7 +82,7 @@
 {
     g_assert(bookmark != NULL);
 
-    DBG("bookmarks: %02d %x %s", --bookmarks, (gint) bookmark, bookmark->label);
+    DBG("bookmarks: %02d %p", --bookmarks, bookmark);
 
     if(bookmark->primary_action != NULL){
 
@@ -122,16 +122,4 @@
     pbg->finalize(pbg);
 }
 
-
-/*
-void
-places_bookmark_actions_list_destroy(GSList *actions)
-{
-    g_assert(actions != NULL);
-
-    g_slist_foreach(actions, (GFunc) places_bookmark_action_free, NULL);
-    g_slist_free(actions);
-}
-*/
-
 /* vim: set ai et tabstop=4: */




More information about the Goodies-commits mailing list