diff options
author | Thomas Wood <thomas.wood@intel.com> | 2010-01-14 09:36:24 +0000 |
---|---|---|
committer | Thomas Wood <thomas.wood@intel.com> | 2010-01-14 09:36:24 +0000 |
commit | 2249ec8551ba336cc651af6126568b81336cf701 (patch) | |
tree | a19d29429c790e7b853db8c753f1b5f1f735fae5 | |
parent | eb90411b3a1e7cb99d71e8c919ebdd6bbb1cd0df (diff) | |
download | gnome-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.c | 2 |
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 */ |