[Goodies-commits] r3859 - xfce4-clipman-plugin/trunk/panel-plugin

Mike Massonnet mmassonnet at xfce.org
Thu Jan 24 14:08:21 CET 2008


Author: mmassonnet
Date: 2008-01-24 13:08:21 +0000 (Thu, 24 Jan 2008)
New Revision: 3859

Modified:
   xfce4-clipman-plugin/trunk/panel-plugin/clipman-dialogs.c
Log:
Forget to clean short_text of static clipboard.


Modified: xfce4-clipman-plugin/trunk/panel-plugin/clipman-dialogs.c
===================================================================
--- xfce4-clipman-plugin/trunk/panel-plugin/clipman-dialogs.c	2008-01-24 13:08:15 UTC (rev 3858)
+++ xfce4-clipman-plugin/trunk/panel-plugin/clipman-dialogs.c	2008-01-24 13:08:21 UTC (rev 3859)
@@ -309,6 +309,12 @@
           g_free (clip->short_text);
           clip->short_text = NULL;
         }
+      for (list = options->clipman->clipman_clips->static_clipboard; list != NULL; list = list->next)
+        {
+          clip = (ClipmanClip *)list->data;
+          g_free (clip->short_text);
+          clip->short_text = NULL;
+        }
     }
 
   xfce_panel_plugin_unblock_menu (options->clipman->panel_plugin);




More information about the Goodies-commits mailing list