*** photos3.c	2016-03-08 14:17:08.882145000 +0530
--- photos-main.c	2016-02-25 23:26:12.435780000 +0530
***************
*** 34,67 ****
  #include "photos-debug.h"
  #include "photos-remote-display-manager.h"
  
- static int
- command_line (GApplication            *application,
-               GApplicationCommandLine *cmdline)
- {
-   gchar **argv;
-   gint argc;
-   gint i;
-   gint j;
- 
-   argv = g_application_command_line_get_arguments (cmdline, &argc);
-   for (i = 0; i < argc; i++)
- {    
- if (g_str_has_prefix (argv[i], "--version") || g_str_has_prefix(argv[i],"-v"))
-         {
-           g_print("GNOME photos %s\n",VERSION);
-           g_free (argv[i]);
-           for (j = i; argv[j]; j++)
-             argv[j] = argv[j + 1];
-         }
- 
- }
-   g_strfreev (argv);
- 
-   return 0;
- }
- 
- 
- 
  
  gint
  main (gint argc, gchar *argv[])
--- 34,39 ----
***************
*** 81,87 ****
    g_set_prgname (PACKAGE_TARNAME);
  
    app = photos_application_new ();
-   g_signal_connect (app, "command-line", G_CALLBACK (command_line), NULL);
    if (g_getenv ("GNOME_PHOTOS_PERSIST") != NULL)
      g_application_hold (G_APPLICATION (app));
  
--- 53,58 ----
