Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/src/gc_sound/src/test_gc_sound.c
diff options
context:
space:
mode:
authorYves Combe <ycombe@src.gnome.org>2006-12-18 23:42:31 (GMT)
committer Yves Combe <ycombe@src.gnome.org>2006-12-18 23:42:31 (GMT)
commitf106d808e51077cb5428dd7657da4c9beca7baa8 (patch)
tree2a71dce23cd3c503abde54d4428fb6651eec6e68 /src/gc_sound/src/test_gc_sound.c
parent140dc546466033a2ca7b96dd2384bc19b59e99f6 (diff)
GC_SOUND: Add a property for policy. Fix bug if played item is destroyedEXPERIMENTAL
GC_SOUND: Add a property for policy. Fix bug if played item is destroyed at end before it's "play_end" callback. TODO: fix bug if item is destroyed when it's playing. GCOMPRIS fix memory and bar.c TODO: python binding for gc_sound_from_gc_filename
Diffstat (limited to 'src/gc_sound/src/test_gc_sound.c')
-rw-r--r--src/gc_sound/src/test_gc_sound.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gc_sound/src/test_gc_sound.c b/src/gc_sound/src/test_gc_sound.c
index 745cfff..a58060c 100644
--- a/src/gc_sound/src/test_gc_sound.c
+++ b/src/gc_sound/src/test_gc_sound.c
@@ -12,7 +12,7 @@ void start(GcSoundItem *item, gpointer data)
g_warning("Return of start callback %s", GC_SOUND_OBJECT(item)->nick);
}
-main (int argc, char *argv)
+int main (int argc, char **argv)
{
GcSoundMixer *gcmix;
GcSoundChannel* gcchan1, *gcchan2;
@@ -122,4 +122,5 @@ main (int argc, char *argv)
g_warning("loop now");
g_main_loop_run(g_main_loop_new (NULL, FALSE));
+ return 0;
}