[Xfce4-commits] <xfce4-settings:jeromeg/clipboard-daemon> Fix 2 small things.

Nick Schermer noreply at xfce.org
Fri Nov 27 11:42:08 CET 2009


Updating branch refs/heads/jeromeg/clipboard-daemon
         to 9e20118dea187a536b65c2b64047d7d3affe0a6b (commit)
       from c92c2d82ccccc9b8584a3add92970b32cbc7242d (commit)

commit 9e20118dea187a536b65c2b64047d7d3affe0a6b
Author: Nick Schermer <nick at xfce.org>
Date:   Fri Nov 27 11:39:50 2009 +0100

    Fix 2 small things.

 xfce4-settings-helper/clipboard-manager.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/xfce4-settings-helper/clipboard-manager.c b/xfce4-settings-helper/clipboard-manager.c
index 79c65f7..686476b 100644
--- a/xfce4-settings-helper/clipboard-manager.c
+++ b/xfce4-settings-helper/clipboard-manager.c
@@ -93,7 +93,7 @@ xfce_clipboard_manager_default_store (XfceClipboardManager *manager)
     if (manager->default_cache != NULL)
     {
         g_slist_foreach (manager->default_cache, (GFunc)gtk_selection_data_free, NULL);
-                         g_slist_free (manager->default_cache);
+        g_slist_free (manager->default_cache);
         manager->default_cache = NULL;
     }
 
@@ -112,7 +112,7 @@ xfce_clipboard_manager_default_store (XfceClipboardManager *manager)
         selection_data = gtk_clipboard_wait_for_contents (manager->default_clipboard, atoms[i]);
 
         if (selection_data == NULL)
-            return;
+            break;
 
         manager->default_cache = g_slist_prepend (manager->default_cache, selection_data);
     }



More information about the Xfce4-commits mailing list