gnome-session r5374 - in trunk: . gnome-session



Author: vuntz
Date: Wed Apr  8 12:53:07 2009
New Revision: 5374
URL: http://svn.gnome.org/viewvc/gnome-session?rev=5374&view=rev

Log:
2009-04-08  Vincent Untz  <vuntz gnome org>

	* gnome-session/gsm-logout-dialog.c: (on_ck_request_completed): killed
	(gsm_logout_dialog_init): don't connect to request-completed of the
	consolekit object: we actually don't do anything in the callback
	anyway...


Modified:
   trunk/ChangeLog
   trunk/gnome-session/gsm-logout-dialog.c

Modified: trunk/gnome-session/gsm-logout-dialog.c
==============================================================================
--- trunk/gnome-session/gsm-logout-dialog.c	(original)
+++ trunk/gnome-session/gsm-logout-dialog.c	Wed Apr  8 12:53:07 2009
@@ -129,16 +129,6 @@
 }
 
 static void
-on_ck_request_completed (GsmConsolekit *consolekit,
-                         GError        *error)
-{
-        if (error == NULL) {
-                /* request was successful */
-                return;
-        }
-}
-
-static void
 gsm_logout_dialog_init (GsmLogoutDialog *logout_dialog)
 {
         logout_dialog->priv = GSM_LOGOUT_DIALOG_GET_PRIVATE (logout_dialog);
@@ -155,11 +145,6 @@
 
         logout_dialog->priv->consolekit = gsm_get_consolekit ();
 
-        g_signal_connect (logout_dialog->priv->consolekit,
-                          "request-completed",
-                          G_CALLBACK (on_ck_request_completed),
-                          NULL);
-
         g_signal_connect (logout_dialog,
                           "destroy",
                           G_CALLBACK (gsm_logout_dialog_destroy),



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