[gnome-commander] one instance mode: unique_app_new_with_commands() -> unique_app_new()



commit 00c8c03b8ef0cc169211cb35c603afab9e2258fd
Author: Piotr Eljasiak <epiotr src gnome org>
Date:   Wed Jun 9 19:22:57 2010 +0200

    one instance mode: unique_app_new_with_commands() -> unique_app_new()

 src/main.cc |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/src/main.cc b/src/main.cc
index 2bfe195..f65789c 100644
--- a/src/main.cc
+++ b/src/main.cc
@@ -147,8 +147,7 @@ int main (int argc, char *argv[])
     gcmd_user_actions.init();
     gnome_cmd_data.load();
 
-    app = unique_app_new_with_commands ("org.gnome.GnomeCommander", NULL,
-                                         NULL);
+    app = unique_app_new ("org.gnome.GnomeCommander", NULL);
 
     if (!gnome_cmd_data.allow_multiple_instances && unique_app_is_running (app))
         unique_app_send_message (app, UNIQUE_ACTIVATE, NULL);



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