[gnome-shell] telepathyClient: Pass the right amount of parameters



commit a004ad60889867935612bcc0189104d4f4deb7c1
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Thu Aug 16 15:52:24 2012 -0400

    telepathyClient: Pass the right amount of parameters
    
    https://bugzilla.gnome.org/show_bug.cgi?id=682045

 js/ui/telepathyClient.js |    7 +++----
 1 files changed, 3 insertions(+), 4 deletions(-)
---
diff --git a/js/ui/telepathyClient.js b/js/ui/telepathyClient.js
index 5d66bbe..dce0926 100644
--- a/js/ui/telepathyClient.js
+++ b/js/ui/telepathyClient.js
@@ -1342,15 +1342,14 @@ const AccountNotification = new Lang.Class({
             case 'reconnect':
                 // If it fails again, a new notification should pop up with the
                 // new error.
-                account.reconnect_async(null, null);
+                account.reconnect_async(null);
                 break;
             case 'edit':
                 let cmd = '/usr/bin/empathy-accounts'
                         + ' --select-account=%s'
                         .format(account.get_path_suffix());
-                let app_info = Gio.app_info_create_from_commandline(cmd, null, 0,
-                    null);
-                app_info.launch([], null, null);
+                let app_info = Gio.app_info_create_from_commandline(cmd, null, 0);
+                app_info.launch([], null);
                 break;
             }
             this.destroy();



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