projects
/
hildon
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
2009-03-30 Alberto Garcia <agarcia@igalia.com>
[hildon]
/
src
/
hildon-sound.c
diff --git
a/src/hildon-sound.c
b/src/hildon-sound.c
index
392c2c0
..
1bbc264
100644
(file)
--- a/
src/hildon-sound.c
+++ b/
src/hildon-sound.c
@@
-36,19
+36,20
@@
#define ALARM_GCONF_PATH "/apps/osso/sound/system_alert_volume"
#define ALARM_GCONF_PATH "/apps/osso/sound/system_alert_volume"
-static ca_context *
-hildon_ca_context_get (void);
+static ca_context *hildon_ca_context_get (void);
/*
* hildon_ca_context_get:
*
/*
* hildon_ca_context_get:
*
- * hildon maintains a single application-global ca_context object.
+ * hildon maintains a single application-global ca_context object.
*
* This functions is based on ca_gtk_context_get
*
* Returns: a ca_context object
*/
*
* This functions is based on ca_gtk_context_get
*
* Returns: a ca_context object
*/
-ca_context *hildon_ca_context_get (void) {
+static ca_context *
+hildon_ca_context_get (void)
+{
static GStaticPrivate context_private = G_STATIC_PRIVATE_INIT;
ca_context *c = NULL;
const gchar *name = NULL;
static GStaticPrivate context_private = G_STATIC_PRIVATE_INIT;
ca_context *c = NULL;
const gchar *name = NULL;