policykit-gnome r97 - trunk/src



Author: davidz
Date: Sat Jan 31 19:24:32 2009
New Revision: 97
URL: http://svn.gnome.org/viewvc/policykit-gnome?rev=97&view=rev

Log:
update to latest polkitagent API



Modified:
   trunk/src/polkitgnomeauthenticator.c

Modified: trunk/src/polkitgnomeauthenticator.c
==============================================================================
--- trunk/src/polkitgnomeauthenticator.c	(original)
+++ trunk/src/polkitgnomeauthenticator.c	Sat Jan 31 19:24:32 2009
@@ -279,22 +279,6 @@
 }
 
 static void
-session_request_echo_off (PolkitAgentSession *session,
-                          const gchar        *request,
-                          gpointer            user_data)
-{
-  session_request (session, request, FALSE, user_data);
-}
-
-static void
-session_request_echo_on (PolkitAgentSession *session,
-                         const gchar        *request,
-                         gpointer            user_data)
-{
-  session_request (session, request, TRUE, user_data);
-}
-
-static void
 session_show_error (PolkitAgentSession *session,
                     const gchar        *msg,
                     gpointer            user_data)
@@ -358,13 +342,8 @@
   g_object_unref (identity);
 
   g_signal_connect (authenticator->session,
-                    "request-echo-on",
-                    G_CALLBACK (session_request_echo_on),
-                    authenticator);
-
-  g_signal_connect (authenticator->session,
-                    "request-echo-off",
-                    G_CALLBACK (session_request_echo_off),
+                    "request",
+                    G_CALLBACK (session_request),
                     authenticator);
 
   g_signal_connect (authenticator->session,



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