[snappy] gst-indent style changes



commit 70e45dc57ae2119bddc23796a8f713d6e28f9fb1
Author: Luis de Bethencourt <luis debethencourt com>
Date:   Tue Mar 26 13:17:49 2013 -0400

    gst-indent style changes

 src/gst_engine.c     |    6 +++---
 src/user_interface.c |    8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/src/gst_engine.c b/src/gst_engine.c
index 1f78469..d8a5c44 100644
--- a/src/gst_engine.c
+++ b/src/gst_engine.c
@@ -603,7 +603,7 @@ bus_call (GstBus * bus, GstMessage * msg, gpointer data)
 
       gst_message_parse_error (msg, &err, &debug);
       if (err) {
-        g_print ("Error: %s", err->message);
+        g_print ("Error: %s\n", err->message);
         GST_DEBUG ("Error: %s", err->message);
         g_error_free (err);
 
@@ -671,8 +671,8 @@ check_missing_plugins_error (GstEngine * engine, GstMessage * msg)
   // Is the error "Codec not found"? Then display verbose warning
   if (error_src_is_decoder && err->code == GST_STREAM_ERROR_CODEC_NOT_FOUND) {
     g_print ("You are missing a GStreamer plugin needed to play this file.%s",
-             "\nCheck your GStreamer installation.\n");
-    GST_DEBUG("Warning: Codec not Found");
+        "\nCheck your GStreamer installation.\n");
+    GST_DEBUG ("Warning: Codec not Found");
     error_src_is_missing_plugins = TRUE;
   } else {
     error_src_is_missing_plugins = FALSE;
diff --git a/src/user_interface.c b/src/user_interface.c
index c42b8cf..8752931 100644
--- a/src/user_interface.c
+++ b/src/user_interface.c
@@ -709,11 +709,11 @@ load_controls (UserInterface * ui)
     error = NULL;
   }
   clutter_actor_hide (ui->subtitle_toggle);
-  clutter_box_layout_pack (CLUTTER_BOX_LAYOUT (ui->info_box_layout), ui->subtitle_toggle, FALSE,       /* 
expand */
+  clutter_box_layout_pack (CLUTTER_BOX_LAYOUT (ui->info_box_layout), ui->subtitle_toggle, FALSE,        /* 
expand */
       FALSE,                    /* x-fill */
       FALSE,                    /* y-fill */
       CLUTTER_BOX_ALIGNMENT_CENTER,     /* x-align */
-      CLUTTER_BOX_ALIGNMENT_START);    /* y-align */
+      CLUTTER_BOX_ALIGNMENT_START);     /* y-align */
 
   clutter_box_layout_pack (CLUTTER_BOX_LAYOUT (ui->main_box_layout), ui->info_box, FALSE,       /* expand */
       FALSE,                    /* x-fill */
@@ -1155,7 +1155,7 @@ interface_load_uri (UserInterface * ui, gchar * uri)
     ui->stage_height = ui->media_height;
 
     gtk_widget_set_size_request (ui->clutter_widget, ui->stage_width / 2,
-      ui->stage_height / 2);
+        ui->stage_height / 2);
     clutter_actor_set_size (CLUTTER_ACTOR (ui->stage), ui->stage_width,
         ui->stage_height);
 
@@ -1244,7 +1244,7 @@ interface_start (UserInterface * ui, gchar * uri)
 
   /* Create the window and some child widgets: */
   ui->window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
-  if (strcmp(ui->filename, "") != 0)
+  if (strcmp (ui->filename, "") != 0)
     gtk_window_set_title (GTK_WINDOW (ui->window), ui->filename);
   else
     gtk_window_set_title (GTK_WINDOW (ui->window), "snappy");


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