[Xfce4-commits] <xfce4-settings:master> Fix 2 small things.

Jérôme Guelfucci noreply at xfce.org
Sat Jan 2 13:00:17 CET 2010


Updating branch refs/heads/master
         to 8afec93c01857ca89665ed2aa2f4efe34208536c (commit)
       from 6e17cc23307a695da4534e6f4bba2a2d11506ec7 (commit)

commit 8afec93c01857ca89665ed2aa2f4efe34208536c
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