[Xfce4-commits] <xfce4-settings:master> Remove unused error parameter in start function.

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


Updating branch refs/heads/master
         to 4bbc322b943df76a9e6492c5803a63de8f65af86 (commit)
       from 19b9733591a27c689bfecdad1aba11dc6c8a2479 (commit)

commit 4bbc322b943df76a9e6492c5803a63de8f65af86
Author: Jérôme Guelfucci <jeromeg at xfce.org>
Date:   Wed Nov 18 00:39:31 2009 +0100

    Remove unused error parameter in start function.

 xfce4-settings-helper/main.c                   |    2 +-
 xfce4-settings-helper/xfce-clipboard-manager.c |    3 +--
 xfce4-settings-helper/xfce-clipboard-manager.h |    3 +--
 3 files changed, 3 insertions(+), 5 deletions(-)

diff --git a/xfce4-settings-helper/main.c b/xfce4-settings-helper/main.c
index a45fdf1..054fba2 100644
--- a/xfce4-settings-helper/main.c
+++ b/xfce4-settings-helper/main.c
@@ -331,7 +331,7 @@ main (gint argc, gchar **argv)
 
     /* Try to start the clipboard daemon */
     clipboard_daemon = xfce_clipboard_manager_new ();
-    xfce_clipboard_manager_start (clipboard_daemon, NULL);
+    xfce_clipboard_manager_start (clipboard_daemon);
 
     /* setup signal handlers to properly quit the main loop */
     if (xfce_posix_signal_handler_init (NULL))
diff --git a/xfce4-settings-helper/xfce-clipboard-manager.c b/xfce4-settings-helper/xfce-clipboard-manager.c
index 0432b25..bd0197e 100644
--- a/xfce4-settings-helper/xfce-clipboard-manager.c
+++ b/xfce4-settings-helper/xfce-clipboard-manager.c
@@ -300,8 +300,7 @@ start_clipboard_idle_cb (XfceClipboardManager *manager)
 }
 
 gboolean
-xfce_clipboard_manager_start (XfceClipboardManager *manager,
-                              GError              **error)
+xfce_clipboard_manager_start (XfceClipboardManager *manager)
 {
   g_idle_add ((GSourceFunc) start_clipboard_idle_cb, manager);
 
diff --git a/xfce4-settings-helper/xfce-clipboard-manager.h b/xfce4-settings-helper/xfce-clipboard-manager.h
index cac4906..bbd2a7f 100644
--- a/xfce4-settings-helper/xfce-clipboard-manager.h
+++ b/xfce4-settings-helper/xfce-clipboard-manager.h
@@ -48,8 +48,7 @@ typedef struct
 GType                 xfce_clipboard_manager_get_type            (void);
 
 XfceClipboardManager *xfce_clipboard_manager_new                 (void);
-gboolean              xfce_clipboard_manager_start               (XfceClipboardManager  *manager,
-                                                                  GError               **error);
+gboolean              xfce_clipboard_manager_start               (XfceClipboardManager  *manager);
 void                  xfce_clipboard_manager_stop                (XfceClipboardManager  *manager);
 
 G_END_DECLS



More information about the Xfce4-commits mailing list