diff options
author | Carlos Soriano <csoriano@gnome.org> | 2016-08-29 18:24:05 +0200 |
---|---|---|
committer | Carlos Soriano <csoriano@gnome.org> | 2016-08-29 18:25:29 +0200 |
commit | bc88db402e424f34fd7a8fa583217c984df7f4b4 (patch) | |
tree | 040dc9433d4ad9cc38482fc7f83f560d58fdf803 /nautilus-desktop/nautilus-desktop-window-slot.c | |
parent | e19470ae3c0bd16fde484d0640f0c48a4f6ba4d0 (diff) | |
download | nautilus-bc88db402e424f34fd7a8fa583217c984df7f4b4.tar.gz |
general: run uncrustifywip/csoriano/uncrustify
And make the style of Nautilus the same for all files.
Hopefully we can fix all the style issues we can find in the next days,
so expect a little of movement on this.
Diffstat (limited to 'nautilus-desktop/nautilus-desktop-window-slot.c')
-rw-r--r-- | nautilus-desktop/nautilus-desktop-window-slot.c | 36 |
1 files changed, 18 insertions, 18 deletions
diff --git a/nautilus-desktop/nautilus-desktop-window-slot.c b/nautilus-desktop/nautilus-desktop-window-slot.c index be834c287..b7633cec2 100644 --- a/nautilus-desktop/nautilus-desktop-window-slot.c +++ b/nautilus-desktop/nautilus-desktop-window-slot.c @@ -21,7 +21,7 @@ struct _NautilusDesktopWindowSlot { - NautilusWindowSlot parent_instance; + NautilusWindowSlot parent_instance; }; G_DEFINE_TYPE (NautilusDesktopWindowSlot, nautilus_desktop_window_slot, NAUTILUS_TYPE_WINDOW_SLOT) @@ -30,40 +30,40 @@ static NautilusView * real_get_view_for_location (NautilusWindowSlot *self, GFile *location) { - return NAUTILUS_VIEW (nautilus_desktop_canvas_view_new (self)); + return NAUTILUS_VIEW (nautilus_desktop_canvas_view_new (self)); } NautilusDesktopWindowSlot * nautilus_desktop_window_slot_new (NautilusWindow *window) { - return g_object_new (NAUTILUS_TYPE_DESKTOP_WINDOW_SLOT, - "window", window, - NULL); + return g_object_new (NAUTILUS_TYPE_DESKTOP_WINDOW_SLOT, + "window", window, + NULL); } static void nautilus_desktop_window_slot_class_init (NautilusDesktopWindowSlotClass *klass) { - NautilusWindowSlotClass *parent_class = NAUTILUS_WINDOW_SLOT_CLASS (klass); + NautilusWindowSlotClass *parent_class = NAUTILUS_WINDOW_SLOT_CLASS (klass); - parent_class->get_view_for_location = real_get_view_for_location; + parent_class->get_view_for_location = real_get_view_for_location; } static void nautilus_desktop_window_slot_init (NautilusDesktopWindowSlot *self) { - GAction *action; - GActionGroup *action_group; + GAction *action; + GActionGroup *action_group; - /* Disable search on desktop */ - action_group = gtk_widget_get_action_group (GTK_WIDGET (self), "slot"); + /* Disable search on desktop */ + action_group = gtk_widget_get_action_group (GTK_WIDGET (self), "slot"); - action = g_action_map_lookup_action (G_ACTION_MAP (action_group), "search-visible"); - g_simple_action_set_enabled (G_SIMPLE_ACTION (action), FALSE); + action = g_action_map_lookup_action (G_ACTION_MAP (action_group), "search-visible"); + g_simple_action_set_enabled (G_SIMPLE_ACTION (action), FALSE); - /* Disable the ability to change between types of views */ - action = g_action_map_lookup_action (G_ACTION_MAP (action_group), "files-view-mode"); - g_simple_action_set_enabled (G_SIMPLE_ACTION (action), FALSE); - action = g_action_map_lookup_action (G_ACTION_MAP (action_group), "files-view-mode-toggle"); - g_simple_action_set_enabled (G_SIMPLE_ACTION (action), FALSE); + /* Disable the ability to change between types of views */ + action = g_action_map_lookup_action (G_ACTION_MAP (action_group), "files-view-mode"); + g_simple_action_set_enabled (G_SIMPLE_ACTION (action), FALSE); + action = g_action_map_lookup_action (G_ACTION_MAP (action_group), "files-view-mode-toggle"); + g_simple_action_set_enabled (G_SIMPLE_ACTION (action), FALSE); } |