Commit f0bd0a74 authored by Vincent Untz's avatar Vincent Untz Committed by Vincent Untz

killed (gsm_logout_dialog_init): don't connect to request-completed of the

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...

svn path=/trunk/; revision=5374
parent b179a0d2
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...
2009-04-08 Vincent Untz <vuntz@gnome.org>
* gnome-session/gsm-xsmp-client.c: (save_yourself_done_callback): only
......
......@@ -128,16 +128,6 @@ gsm_logout_dialog_class_init (GsmLogoutDialogClass *klass)
g_type_class_add_private (klass, sizeof (GsmLogoutDialogPrivate));
}
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)
{
......@@ -155,11 +145,6 @@ gsm_logout_dialog_init (GsmLogoutDialog *logout_dialog)
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),
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment