[gnome-control-center/single-window-shell] [shell] fix compiler warning



commit 2249ec8551ba336cc651af6126568b81336cf701
Author: Thomas Wood <thomas wood intel com>
Date:   Thu Jan 14 09:36:24 2010 +0000

    [shell] fix compiler warning
    
    Cast the callback function to the correct type to prevent a compiler
    warning

 shell/control-center.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/control-center.c b/shell/control-center.c
index 60c6759..1736dff 100644
--- a/shell/control-center.c
+++ b/shell/control-center.c
@@ -197,7 +197,7 @@ plug_added_cb (GtkSocket  *socket,
 
   /* FIXME: this shouldn't be necassary if the capplet doesn't add to the socket
    * until it is fully ready */
-  g_timeout_add (100, switch_after_delay, notebook);
+  g_timeout_add (100, (GSourceFunc) switch_after_delay, notebook);
 
   /* make sure no items are selected when the user switches back to the icon
    * views */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]