diff options
author | Philip Chimento <philip.chimento@gmail.com> | 2014-10-10 22:32:06 -0700 |
---|---|---|
committer | Tristan Van Berkom <tristan@upstairslabs.com> | 2014-10-12 19:42:25 +0900 |
commit | e36e1ae6882d6e5345bcbf6f029f8239c4afd76f (patch) | |
tree | 8c5334b1a59b6d6e4f7f10ed7366c23d449b685d /src | |
parent | 1889453af7ea4a361f6f5693352bfde76f73b3cc (diff) | |
download | glade-e36e1ae6882d6e5345bcbf6f029f8239c4afd76f.tar.gz |
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
Diffstat (limited to 'src')
-rw-r--r-- | 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 7349f3bf..2fae4f68 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); |