[gnome-video-arcade] Fix brace style.



commit 95f3fac9640c4442682fc83ffcad84307ba2e493
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Mar 26 18:51:27 2011 -0400

    Fix brace style.

 src/gva-history.c      |    3 ++-
 src/gva-input-file.c   |    3 ++-
 src/gva-main.c         |    3 ++-
 src/gva-mame-common.c  |    9 ++++++---
 src/gva-music-button.c |    6 ++++--
 src/gva-process.c      |    6 ++++--
 src/gva-properties.c   |    6 ++++--
 7 files changed, 24 insertions(+), 12 deletions(-)
---
diff --git a/src/gva-history.c b/src/gva-history.c
index d76dc18..80c9681 100644
--- a/src/gva-history.c
+++ b/src/gva-history.c
@@ -26,7 +26,8 @@
 
 typedef struct _HistoryEntry HistoryEntry;
 
-struct _HistoryEntry {
+struct _HistoryEntry
+{
         guint id;
         goffset offset;
 };
diff --git a/src/gva-input-file.c b/src/gva-input-file.c
index 41e4b9c..68d0219 100644
--- a/src/gva-input-file.c
+++ b/src/gva-input-file.c
@@ -61,7 +61,8 @@ typedef struct _GvaInpHeaderSimple GvaInpHeaderSimple;
 typedef struct _GvaInpHeaderExtended GvaInpHeaderExtended;
 typedef struct _GvaInpHeaderVersioned GvaInpHeaderVersioned;
 
-enum {
+enum
+{
         PROP_0,
         PROP_FILENAME,
         PROP_FORMAT,
diff --git a/src/gva-main.c b/src/gva-main.c
index eaa921f..f1675b3 100644
--- a/src/gva-main.c
+++ b/src/gva-main.c
@@ -41,7 +41,8 @@
         "SELECT DISTINCT year, 'year' FROM available;"
 
 /* Entry completion columns */
-enum {
+enum
+{
         COLUMN_NAME,
         COLUMN_TEXT,
         COLUMN_TYPE,
diff --git a/src/gva-mame-common.c b/src/gva-mame-common.c
index e27eefc..d1ad0c9 100644
--- a/src/gva-mame-common.c
+++ b/src/gva-mame-common.c
@@ -891,7 +891,8 @@ gva_mame_get_input_directory (GError **error)
 {
         static gchar *directory = NULL;
 
-        if (G_UNLIKELY (directory == NULL)) {
+        if (G_UNLIKELY (directory == NULL))
+        {
                 const gchar *config_key = "input_directory";
                 directory = gva_mame_get_config_value (config_key, error);
         }
@@ -914,7 +915,8 @@ gva_mame_get_snapshot_directory (GError **error)
 {
         static gchar *directory = NULL;
 
-        if (G_UNLIKELY (directory == NULL)) {
+        if (G_UNLIKELY (directory == NULL))
+        {
                 const gchar *config_key = "snapshot_directory";
                 directory = gva_mame_get_config_value (config_key, error);
         }
@@ -937,7 +939,8 @@ gva_mame_get_state_directory (GError **error)
 {
         static gchar *directory = NULL;
 
-        if (G_UNLIKELY (directory == NULL)) {
+        if (G_UNLIKELY (directory == NULL))
+        {
                 const gchar *config_key = "state_directory";
                 directory = gva_mame_get_config_value (config_key, error);
         }
diff --git a/src/gva-music-button.c b/src/gva-music-button.c
index 3cc9dde..94aa23d 100644
--- a/src/gva-music-button.c
+++ b/src/gva-music-button.c
@@ -41,13 +41,15 @@ struct _GvaMusicButtonPrivate
         guint seeking : 1;
 };
 
-enum {
+enum
+{
         PROP_0,
         PROP_GAME,
         PROP_STATUS
 };
 
-enum {
+enum
+{
         PAUSE,
         PLAY,
         LAST_SIGNAL
diff --git a/src/gva-process.c b/src/gva-process.c
index 3d0ce1f..1bda2b1 100644
--- a/src/gva-process.c
+++ b/src/gva-process.c
@@ -30,7 +30,8 @@
         (G_TYPE_INSTANCE_GET_PRIVATE \
         ((obj), GVA_TYPE_PROCESS, GvaProcessPrivate))
 
-enum {
+enum
+{
         PROP_0,
         PROP_PID,
         PROP_STDIN,
@@ -40,7 +41,8 @@ enum {
         PROP_PROGRESS
 };
 
-enum {
+enum
+{
         STDOUT_READY,
         STDERR_READY,
         EXITED,
diff --git a/src/gva-properties.c b/src/gva-properties.c
index e98dbc3..d4578e0 100644
--- a/src/gva-properties.c
+++ b/src/gva-properties.c
@@ -497,7 +497,8 @@ properties_update_sound (const gchar *name)
         sql = g_strdup_printf (
                 SQL_SELECT_SOUND, name, G_N_ELEMENTS (sound_labels));
 
-        if (!gva_db_get_table (sql, &result, &rows, &columns, &error)) {
+        if (!gva_db_get_table (sql, &result, &rows, &columns, &error))
+        {
                 gva_error_handle (&error);
                 rows = columns = 0;
         }
@@ -642,7 +643,8 @@ properties_update_video (const gchar *name)
         sql = g_strdup_printf (
                 SQL_SELECT_VIDEO, name, G_N_ELEMENTS (video_labels));
 
-        if (!gva_db_get_table (sql, &result, &rows, &columns, &error)) {
+        if (!gva_db_get_table (sql, &result, &rows, &columns, &error))
+        {
                 gva_error_handle (&error);
                 rows = columns = 0;
         }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]