[gnome-builder] autotools-templates: use 2 space indentation by default



commit a145a1348a987040e6919e975cd24ab2a79519ad
Author: Christian Hergert <chergert redhat com>
Date:   Sat Oct 15 23:17:51 2016 -0700

    autotools-templates: use 2 space indentation by default

 .../autotools_templates/resources/src/main.c       |   28 ++++++++++----------
 1 files changed, 14 insertions(+), 14 deletions(-)
---
diff --git a/plugins/autotools-templates/autotools_templates/resources/src/main.c 
b/plugins/autotools-templates/autotools_templates/resources/src/main.c
index 2991275..36d5c86 100644
--- a/plugins/autotools-templates/autotools_templates/resources/src/main.c
+++ b/plugins/autotools-templates/autotools_templates/resources/src/main.c
@@ -6,28 +6,28 @@ static void
 activate (GtkApplication *app,
           gpointer        user_data)
 {
-    GtkWidget *window;
+  GtkWidget *window;
 
-    window = gtk_application_window_new (app);
-    gtk_window_set_title (GTK_WINDOW (window), "{{name}}");
-    gtk_window_set_default_size (GTK_WINDOW (window), 200, 200);
+  window = gtk_application_window_new (app);
+  gtk_window_set_title (GTK_WINDOW (window), "{{name}}");
+  gtk_window_set_default_size (GTK_WINDOW (window), 200, 200);
 
-    /* You can add GTK+ widgets to your window here.
-     * See https://developer.gnome.org/ for help.
-     */
+  /* You can add GTK+ widgets to your window here.
+   * See https://developer.gnome.org/ for help.
+   */
 
-    gtk_widget_show (window);
+  gtk_widget_show (window);
 }
 
 int main(int   argc,
          char *argv[])
 {
-    g_autoptr(GtkApplication) app = NULL;
-    int status;
+  g_autoptr(GtkApplication) app = NULL;
+  int status;
 
-    app = gtk_application_new ("org.gnome.{{PreFix}}", G_APPLICATION_FLAGS_NONE);
-    g_signal_connect (app, "activate", G_CALLBACK (activate), NULL);
-    status = g_application_run (G_APPLICATION (app), argc, argv);
+  app = gtk_application_new ("org.gnome.{{PreFix}}", G_APPLICATION_FLAGS_NONE);
+  g_signal_connect (app, "activate", G_CALLBACK (activate), NULL);
+  status = g_application_run (G_APPLICATION (app), argc, argv);
 
-    return status;
+  return status;
 }


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