summaryrefslogtreecommitdiff
path: root/mate-session/gsm-xsmp-client.c
diff options
context:
space:
mode:
authorWu Xiaotian <[email protected]>2020-04-28 17:06:07 +0800
committerWu Xiaotian <[email protected]>2020-08-19 22:01:55 +0800
commit431efb1de32bac835bdc03387a2e5fc03891f6d2 (patch)
treef388c88129c6bfebc7a35d5e151285b1b4988209 /mate-session/gsm-xsmp-client.c
parentdbd99d0919e12fdef30cb79b1f6753f0b5f2f5c2 (diff)
downloadmate-session-manager-431efb1de32bac835bdc03387a2e5fc03891f6d2.tar.bz2
mate-session-manager-431efb1de32bac835bdc03387a2e5fc03891f6d2.tar.xz
update
Diffstat (limited to 'mate-session/gsm-xsmp-client.c')
-rw-r--r--mate-session/gsm-xsmp-client.c26
1 files changed, 13 insertions, 13 deletions
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)