[gnome-photos] application: Style fix



commit 20724c6d0a2f9bbb5ae523f2422db28312567ab7
Author: Debarshi Ray <debarshir gnome org>
Date:   Sun Jan 25 19:16:25 2015 +0100

    application: Style fix

 src/photos-application.c |   11 +++++++----
 1 files changed, 7 insertions(+), 4 deletions(-)
---
diff --git a/src/photos-application.c b/src/photos-application.c
index 46ce3a2..1bb9a82 100644
--- a/src/photos-application.c
+++ b/src/photos-application.c
@@ -913,15 +913,18 @@ photos_application_startup (GApplication *application)
   g_signal_connect_swapped (priv->properties_action, "activate", G_CALLBACK (photos_application_properties), 
self);
   g_action_map_add_action (G_ACTION_MAP (self), G_ACTION (priv->properties_action));
 
-  priv->remote_display_action = g_simple_action_new ("remote-display-current", NULL);
-  g_signal_connect_swapped (priv->remote_display_action, "activate", G_CALLBACK 
(photos_application_remote_display_current), self);
-  g_action_map_add_action (G_ACTION_MAP (self), G_ACTION (priv->remote_display_action));
-
   action = g_simple_action_new ("quit", NULL);
   g_signal_connect_swapped (action, "activate", G_CALLBACK (photos_application_quit), self);
   g_action_map_add_action (G_ACTION_MAP (self), G_ACTION (action));
   g_object_unref (action);
 
+  priv->remote_display_action = g_simple_action_new ("remote-display-current", NULL);
+  g_signal_connect_swapped (priv->remote_display_action,
+                            "activate",
+                            G_CALLBACK (photos_application_remote_display_current),
+                            self);
+  g_action_map_add_action (G_ACTION_MAP (self), G_ACTION (priv->remote_display_action));
+
   state = g_variant_new ("b", FALSE);
   priv->search_action = g_simple_action_new_stateful ("search", NULL, state);
   g_signal_connect (priv->search_action, "activate", G_CALLBACK (photos_application_action_toggle), self);


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