From ea3ef57ef51c286d80d5c70712130a196be7d245 Mon Sep 17 00:00:00 2001 From: William Jon McCann Date: Tue, 30 Oct 2007 13:49:51 +0000 Subject: Convert the GreeterClient to use dbus instead of dbus-glib. Add support 2007-10-30 William Jon McCann * daemon/gdm-greeter-server.c: (send_dbus_message), (send_dbus_string_signal), (gdm_greeter_server_selected_user_changed), (do_introspect): * daemon/gdm-greeter-server.h: * daemon/gdm-session-worker.c: (send_dbus_string_method), (gdm_session_worker_get_username), (gdm_session_worker_process_pam_message), (worker_dbus_filter_function): * daemon/gdm-simple-slave.c: (on_session_selected_user_changed): * gui/simple-greeter/gdm-greeter-client.c: (emit_string_signal_for_message), (on_selected_user_changed), (on_info_query), (on_secret_info_query), (on_info), (on_problem), (on_ready), (on_reset), (send_dbus_string_method), (send_dbus_void_method), (gdm_greeter_client_call_begin_verification), (gdm_greeter_client_call_begin_verification_for_user), (gdm_greeter_client_call_answer_query), (gdm_greeter_client_call_select_session), (gdm_greeter_client_call_select_language), (gdm_greeter_client_call_select_user), (gdm_greeter_client_call_select_hostname), (gdm_greeter_client_call_cancel), (gdm_greeter_client_call_disconnect), (send_get_display_id), (gdm_greeter_client_call_get_display_id), (client_dbus_handle_message), (client_dbus_filter_function), (gdm_greeter_client_start), (gdm_greeter_client_class_init): * gui/simple-greeter/gdm-greeter-client.h: * gui/simple-greeter/gdm-greeter-session.c: (on_info), (on_problem), (on_ready), (on_reset), (on_selected_user_changed), (on_info_query), (on_secret_info_query), (gdm_greeter_session_init): Convert the GreeterClient to use dbus instead of dbus-glib. Add support for the SelectedUserChanged signal. svn path=/trunk/; revision=5454 --- daemon/gdm-greeter-server.h | 32 +++++++++++++++++--------------- 1 file changed, 17 insertions(+), 15 deletions(-) (limited to 'daemon/gdm-greeter-server.h') diff --git a/daemon/gdm-greeter-server.h b/daemon/gdm-greeter-server.h index daa3ba83..1b9ef288 100644 --- a/daemon/gdm-greeter-server.h +++ b/daemon/gdm-greeter-server.h @@ -63,24 +63,26 @@ typedef struct void (* disconnected) (GdmGreeterServer *greeter_server); } GdmGreeterServerClass; -GType gdm_greeter_server_get_type (void); -GdmGreeterServer * gdm_greeter_server_new (const char *display_id); +GType gdm_greeter_server_get_type (void); +GdmGreeterServer * gdm_greeter_server_new (const char *display_id); -gboolean gdm_greeter_server_start (GdmGreeterServer *greeter_server); -gboolean gdm_greeter_server_stop (GdmGreeterServer *greeter_server); -char * gdm_greeter_server_get_address (GdmGreeterServer *greeter_server); +gboolean gdm_greeter_server_start (GdmGreeterServer *greeter_server); +gboolean gdm_greeter_server_stop (GdmGreeterServer *greeter_server); +char * gdm_greeter_server_get_address (GdmGreeterServer *greeter_server); -gboolean gdm_greeter_server_info_query (GdmGreeterServer *greeter_server, - const char *text); -gboolean gdm_greeter_server_secret_info_query (GdmGreeterServer *greeter_server, - const char *text); -gboolean gdm_greeter_server_info (GdmGreeterServer *greeter_server, - const char *text); -gboolean gdm_greeter_server_problem (GdmGreeterServer *greeter_server, - const char *text); -gboolean gdm_greeter_server_reset (GdmGreeterServer *greeter_server); -gboolean gdm_greeter_server_ready (GdmGreeterServer *greeter_server); +gboolean gdm_greeter_server_info_query (GdmGreeterServer *greeter_server, + const char *text); +gboolean gdm_greeter_server_secret_info_query (GdmGreeterServer *greeter_server, + const char *text); +gboolean gdm_greeter_server_info (GdmGreeterServer *greeter_server, + const char *text); +gboolean gdm_greeter_server_problem (GdmGreeterServer *greeter_server, + const char *text); +gboolean gdm_greeter_server_reset (GdmGreeterServer *greeter_server); +gboolean gdm_greeter_server_ready (GdmGreeterServer *greeter_server); +void gdm_greeter_server_selected_user_changed (GdmGreeterServer *greeter_server, + const char *text); G_END_DECLS -- cgit v1.2.1