[gnome-klotski] Code convention fixes



commit 9959ff7d608e1249dfabebc588b7f32aaa614c2d
Author: Sahil Sareen <sahil sareen hotmail com>
Date:   Tue Oct 21 16:41:46 2014 +0530

    Code convention fixes
    
    Code cleanup as per gnome coding conventions
    
    https://bugzilla.gnome.org/show_bug.cgi?id=738921

 src/gnome-klotski.vala |    4 ++--
 src/puzzle-view.vala   |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gnome-klotski.vala b/src/gnome-klotski.vala
index c2a2d71..7a93c33 100644
--- a/src/gnome-klotski.vala
+++ b/src/gnome-klotski.vala
@@ -560,7 +560,7 @@ public class Klotski : Gtk.Application
         catch (GLib.Error e)
         {
             stderr.printf ("%s\n", "Error in gnome-klotski.vala function startup() - builder.add_from_string 
failed");
-            GLib.error(e.message);
+            GLib.error (e.message);
         }
 
         set_app_menu (builder.get_object ("app-menu") as MenuModel);
@@ -627,7 +627,7 @@ public class Klotski : Gtk.Application
         var context = bbox.get_style_context ();
         context.add_class ("linked");
         bbox.margin_top = 12;
-        bbox.show();
+        bbox.show ();
 
         prev_button = new Gtk.Button.with_label (_("Previous Puzzle"));
         prev_button.clicked.connect (prev_level_cb);
diff --git a/src/puzzle-view.vala b/src/puzzle-view.vala
index 7ea7a42..fc2a072 100644
--- a/src/puzzle-view.vala
+++ b/src/puzzle-view.vala
@@ -92,7 +92,7 @@ public class PuzzleView : Gtk.DrawingArea
                                                 e.message);
             dialog.run ();*/
             stderr.printf ("%s %s\n", "Error in puzzle-view.vala load image:", e.message);
-            stderr.printf ( "%s %s\n", "image path:", image_filepath);
+            stderr.printf ("%s %s\n", "image path:", image_filepath);
             Posix.exit (Posix.EXIT_FAILURE);
         }
     }


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