From 431efb1de32bac835bdc03387a2e5fc03891f6d2 Mon Sep 17 00:00:00 2001 From: Wu Xiaotian Date: Tue, 28 Apr 2020 17:06:07 +0800 Subject: update --- mate-session/gsm-xsmp-client.c | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'mate-session/gsm-xsmp-client.c') diff --git a/mate-session/gsm-xsmp-client.c b/mate-session/gsm-xsmp-client.c index 5e15744..1fcd44e 100644 --- a/mate-session/gsm-xsmp-client.c +++ b/mate-session/gsm-xsmp-client.c @@ -72,8 +72,8 @@ static guint signals[LAST_SIGNAL] = { 0 }; G_DEFINE_TYPE_WITH_PRIVATE (GsmXSMPClient, gsm_xsmp_client, GSM_TYPE_CLIENT) static gboolean -client_iochannel_watch (GIOChannel *channel, - GIOCondition condition, +client_iochannel_watch (GIOChannel *channel G_GNUC_UNUSED, + GIOCondition condition G_GNUC_UNUSED, GsmXSMPClient *client) { gboolean keep_going; @@ -281,7 +281,7 @@ debug_print_property (SmProp *prop) static void -set_properties_callback (SmsConn conn, +set_properties_callback (SmsConn conn G_GNUC_UNUSED, SmPointer manager_data, int num_props, SmProp **props) @@ -309,7 +309,7 @@ set_properties_callback (SmsConn conn, } static void -delete_properties_callback (SmsConn conn, +delete_properties_callback (SmsConn conn G_GNUC_UNUSED, SmPointer manager_data, int num_props, char **prop_names) @@ -922,17 +922,17 @@ gsm_xsmp_client_finalize (GObject *object) gsm_xsmp_client_disconnect (client); g_free (priv->description); - g_ptr_array_foreach (priv->props, (GFunc)SmFreeProperty, NULL); + g_ptr_array_foreach (priv->props, (GFunc) SmFreeProperty, NULL); g_ptr_array_free (priv->props, TRUE); G_OBJECT_CLASS (gsm_xsmp_client_parent_class)->finalize (object); } static gboolean -_boolean_handled_accumulator (GSignalInvocationHint *ihint, +_boolean_handled_accumulator (GSignalInvocationHint *ihint G_GNUC_UNUSED, GValue *return_accu, const GValue *handler_return, - gpointer dummy) + gpointer dummy G_GNUC_UNUSED) { gboolean continue_emission; gboolean signal_handled; @@ -1154,7 +1154,7 @@ register_client_callback (SmsConn conn, static void -save_yourself_request_callback (SmsConn conn, +save_yourself_request_callback (SmsConn conn G_GNUC_UNUSED, SmPointer manager_data, int save_type, Bool shutdown, @@ -1219,7 +1219,7 @@ save_yourself_request_callback (SmsConn conn, } static void -save_yourself_phase2_request_callback (SmsConn conn, +save_yourself_phase2_request_callback (SmsConn conn G_GNUC_UNUSED, SmPointer manager_data) { GsmXSMPClientPrivate *priv; @@ -1240,7 +1240,7 @@ save_yourself_phase2_request_callback (SmsConn conn, } static void -interact_request_callback (SmsConn conn, +interact_request_callback (SmsConn conn G_GNUC_UNUSED, SmPointer manager_data, int dialog_type) { @@ -1278,7 +1278,7 @@ interact_request_callback (SmsConn conn, } static void -interact_done_callback (SmsConn conn, +interact_done_callback (SmsConn conn G_GNUC_UNUSED, SmPointer manager_data, Bool cancel_shutdown) { @@ -1297,7 +1297,7 @@ interact_done_callback (SmsConn conn, } static void -save_yourself_done_callback (SmsConn conn, +save_yourself_done_callback (SmsConn conn G_GNUC_UNUSED, SmPointer manager_data, Bool success) { @@ -1333,7 +1333,7 @@ save_yourself_done_callback (SmsConn conn, } static void -close_connection_callback (SmsConn conn, +close_connection_callback (SmsConn conn G_GNUC_UNUSED, SmPointer manager_data, int count, char **reason_msgs) -- cgit v1.2.1