summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2010-01-14 09:36:24 +0000
committerThomas Wood <thomas.wood@intel.com>2010-01-14 09:36:24 +0000
commit2249ec8551ba336cc651af6126568b81336cf701 (patch)
treea19d29429c790e7b853db8c753f1b5f1f735fae5
parenteb90411b3a1e7cb99d71e8c919ebdd6bbb1cd0df (diff)
downloadgnome-control-center-2249ec8551ba336cc651af6126568b81336cf701.tar.gz
[shell] fix compiler warning
Cast the callback function to the correct type to prevent a compiler warning
-rw-r--r--shell/control-center.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/control-center.c b/shell/control-center.c
index 60c67595d..1736dffcd 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 */