[glade] style: Fix indentation of #ifdef block for OS X



commit e36e1ae6882d6e5345bcbf6f029f8239c4afd76f
Author: Philip Chimento <philip chimento gmail com>
Date:   Fri Oct 10 22:32:06 2014 -0700

    style: Fix indentation of #ifdef block for OS X
    
    There are no tabs in the rest of the file, so this matches the
    surrounding indentation.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=738339

 src/glade-window.c |   60 ++++++++++++++++++++++++++--------------------------
 1 files changed, 30 insertions(+), 30 deletions(-)
---
diff --git a/src/glade-window.c b/src/glade-window.c
index 7349f3b..2fae4f6 100644
--- a/src/glade-window.c
+++ b/src/glade-window.c
@@ -3270,36 +3270,36 @@ glade_window_constructed (GObject *object)
                     G_CALLBACK (clipboard_notify_handler_cb), window);
   
 #ifdef MAC_INTEGRATION
-       {
-         /* Fix up the menubar for MacOSX Quartz builds */
-         GtkWidget *menubar = GET_OBJECT (builder, GTK_WIDGET, "menubar");
-         GtkOSXApplication *theApp = g_object_new(GTK_TYPE_OSX_APPLICATION, NULL);
-          GtkWidget *sep, *widget;
-
-         gtk_widget_hide (menubar);
-         gtk_osxapplication_set_menu_bar(theApp, GTK_MENU_SHELL(menubar));
-         widget = GET_OBJECT (builder, GTK_WIDGET, "quit_menuitem");
-         gtk_widget_hide (widget);
-         widget = GET_OBJECT (builder, GTK_WIDGET, "about_menuitem");
-         gtk_osxapplication_insert_app_menu_item (theApp, widget, 0);
-         sep = gtk_separator_menu_item_new();
-         g_object_ref(sep);
-         gtk_osxapplication_insert_app_menu_item (theApp, sep, 1);
-
-         widget = GET_OBJECT (builder, GTK_WIDGET, "properties_menuitem");
-         gtk_osxapplication_insert_app_menu_item  (theApp, widget, 2);
-         sep = gtk_separator_menu_item_new();
-         g_object_ref(sep);
-         gtk_osxapplication_insert_app_menu_item (theApp, sep, 3);
-
-         widget = GET_OBJECT (builder, GTK_WIDGET, "help_menuitem");
-         gtk_osxapplication_set_help_menu(theApp, GTK_MENU_ITEM(widget));
-
-         g_signal_connect(theApp, "NSApplicationWillTerminate",
-                          G_CALLBACK(on_quit_action_activate), window);
-
-         gtk_osxapplication_ready(theApp);
-       }
+  {
+    /* Fix up the menubar for MacOSX Quartz builds */
+    GtkWidget *menubar = GET_OBJECT (builder, GTK_WIDGET, "menubar");
+    GtkOSXApplication *theApp = g_object_new(GTK_TYPE_OSX_APPLICATION, NULL);
+    GtkWidget *sep, *widget;
+
+    gtk_widget_hide (menubar);
+    gtk_osxapplication_set_menu_bar(theApp, GTK_MENU_SHELL(menubar));
+    widget = GET_OBJECT (builder, GTK_WIDGET, "quit_menuitem");
+    gtk_widget_hide (widget);
+    widget = GET_OBJECT (builder, GTK_WIDGET, "about_menuitem");
+    gtk_osxapplication_insert_app_menu_item (theApp, widget, 0);
+    sep = gtk_separator_menu_item_new();
+    g_object_ref(sep);
+    gtk_osxapplication_insert_app_menu_item (theApp, sep, 1);
+
+    widget = GET_OBJECT (builder, GTK_WIDGET, "properties_menuitem");
+    gtk_osxapplication_insert_app_menu_item  (theApp, widget, 2);
+    sep = gtk_separator_menu_item_new();
+    g_object_ref(sep);
+    gtk_osxapplication_insert_app_menu_item (theApp, sep, 3);
+
+    widget = GET_OBJECT (builder, GTK_WIDGET, "help_menuitem");
+    gtk_osxapplication_set_help_menu(theApp, GTK_MENU_ITEM(widget));
+
+    g_signal_connect(theApp, "NSApplicationWillTerminate",
+                     G_CALLBACK(on_quit_action_activate), window);
+
+    gtk_osxapplication_ready(theApp);
+  }
 #endif
 
   show_dock_first_time (window, DOCK_PALETTE, priv->dock_palette_action);


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