[gnome-session] shell: drop unused parameter to open function



commit b0f4b0510d97f4b702413b1956ddfe51254e1bd1
Author: Ray Strode <rstrode redhat com>
Date:   Thu Feb 17 18:06:46 2011 -0500

    shell: drop unused parameter to open function

 gnome-session/gsm-manager.c |    3 +--
 gnome-session/gsm-shell.c   |    3 +--
 gnome-session/gsm-shell.h   |    3 +--
 3 files changed, 3 insertions(+), 6 deletions(-)
---
diff --git a/gnome-session/gsm-manager.c b/gnome-session/gsm-manager.c
index 9935af2..a021996 100644
--- a/gnome-session/gsm-manager.c
+++ b/gnome-session/gsm-manager.c
@@ -3157,8 +3157,7 @@ show_shell_end_session_dialog (GsmManager                   *manager,
 
         gsm_shell_open_end_session_dialog (manager->priv->shell,
                                            type,
-                                           manager->priv->inhibitors,
-                                           manager->priv->clients);
+                                           manager->priv->inhibitors);
         connect_shell_dialog_signals (manager);
 }
 
diff --git a/gnome-session/gsm-shell.c b/gnome-session/gsm-shell.c
index d9ef1e8..3f6b005 100644
--- a/gnome-session/gsm-shell.c
+++ b/gnome-session/gsm-shell.c
@@ -478,8 +478,7 @@ on_end_session_dialog_proxy_destroyed (DBusGProxy *proxy,
 gboolean
 gsm_shell_open_end_session_dialog (GsmShell *shell,
                                    GsmShellEndSessionDialogType type,
-                                   GsmStore *inhibitors,
-                                   GsmStore *clients)
+                                   GsmStore *inhibitors)
 {
         DBusGProxyCall  *call;
         GPtrArray *inhibitor_array;
diff --git a/gnome-session/gsm-shell.h b/gnome-session/gsm-shell.h
index 7908696..74a617d 100644
--- a/gnome-session/gsm-shell.h
+++ b/gnome-session/gsm-shell.h
@@ -77,8 +77,7 @@ gboolean         gsm_shell_is_running         (GsmShell *shell);
 
 gboolean         gsm_shell_open_end_session_dialog (GsmShell *shell,
                                                     GsmShellEndSessionDialogType type,
-                                                    GsmStore *inhibitors,
-                                                    GsmStore *clients);
+                                                    GsmStore *inhibitors);
 
 G_END_DECLS
 



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