[gnome-robots/arnaudb/use-gsound] Style fixes.
- From: Arnaud B. <arnaudb src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-robots/arnaudb/use-gsound] Style fixes.
- Date: Thu, 25 Jul 2019 18:14:45 +0000 (UTC)
commit c8ad48659b932964f95d80bd74b7fa54baeb7445
Author: Arnaud Bonatti <arnaud bonatti gmail com>
Date: Thu Jul 25 20:13:23 2019 +0200
Style fixes.
src/sound.c | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/src/sound.c b/src/sound.c
index d433910..7001b70 100644
--- a/src/sound.c
+++ b/src/sound.c
@@ -93,7 +93,7 @@ play_sound (gint sno)
GSoundContext *ctx;
GError *error = NULL;
- ctx = gsound_context_new(NULL, &error);
+ ctx = gsound_context_new (NULL, &error);
if (error != NULL) {
g_warning ("Failed to create gsound context: %s", error->message);
g_error_free (error);
@@ -104,10 +104,10 @@ play_sound (gint sno)
path = g_build_filename (SOUND_DIRECTORY, filename, NULL);
g_free (filename);
- gsound_context_play_simple(ctx, NULL, &error,
- GSOUND_ATTR_MEDIA_NAME, name,
- GSOUND_ATTR_MEDIA_FILENAME, path,
- NULL);
+ gsound_context_play_simple (ctx, NULL, &error,
+ GSOUND_ATTR_MEDIA_NAME, name,
+ GSOUND_ATTR_MEDIA_FILENAME, path,
+ NULL);
if (error != NULL) {
g_warning ("Failed to play sound \"%s\": %s", name, error->message);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]