From dc0e14afa7f9b5d1224505a006bddf50e6c0c682 Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Sat, 18 May 2024 15:53:07 +0200 Subject: [PATCH] eggsmclient-xsmp: test unused parameters --- lapiz/smclient/eggsmclient-xsmp.c | 28 ++++++++++++++-------------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/lapiz/smclient/eggsmclient-xsmp.c b/lapiz/smclient/eggsmclient-xsmp.c index 7f514e8c..0d34de9e 100644 --- a/lapiz/smclient/eggsmclient-xsmp.c +++ b/lapiz/smclient/eggsmclient-xsmp.c @@ -442,7 +442,7 @@ sm_client_xsmp_will_quit (EggSMClient *client, static gboolean sm_client_xsmp_end_session (EggSMClient *client, - EggSMClientEndStyle style, +// EggSMClientEndStyle style, gboolean request_confirmation) { EggSMClientXSMP *xsmp = (EggSMClientXSMP *)client; @@ -605,7 +605,7 @@ fix_broken_state (EggSMClientXSMP *xsmp, const char *message, /* SM callbacks */ static void -xsmp_save_yourself (SmcConn smc_conn, +xsmp_save_yourself (//SmcConn smc_conn, SmPointer client_data, int save_type, Bool shutdown, @@ -924,7 +924,7 @@ save_state (EggSMClientXSMP *xsmp) } static void -xsmp_interact (SmcConn smc_conn, +xsmp_interact (//SmcConn smc_conn, SmPointer client_data) { EggSMClientXSMP *xsmp = client_data; @@ -944,7 +944,7 @@ xsmp_interact (SmcConn smc_conn, } static void -xsmp_die (SmcConn smc_conn, +xsmp_die (//SmcConn smc_conn, SmPointer client_data) { EggSMClientXSMP *xsmp = client_data; @@ -958,7 +958,7 @@ xsmp_die (SmcConn smc_conn, } static void -xsmp_save_complete (SmcConn smc_conn, +xsmp_save_complete (//SmcConn smc_conn, SmPointer client_data) { EggSMClientXSMP *xsmp = client_data; @@ -973,7 +973,7 @@ xsmp_save_complete (SmcConn smc_conn, } static void -xsmp_shutdown_cancelled (SmcConn smc_conn, +xsmp_shutdown_cancelled (//SmcConn smc_conn, SmPointer client_data) { EggSMClientXSMP *xsmp = client_data; @@ -1299,8 +1299,8 @@ process_ice_messages (IceConn ice_conn) } static gboolean -ice_iochannel_watch (GIOChannel *channel, - GIOCondition condition, +ice_iochannel_watch (/*GIOChannel *channel, + GIOCondition condition,*/ gpointer client_data) { return process_ice_messages (client_data); @@ -1308,7 +1308,7 @@ ice_iochannel_watch (GIOChannel *channel, static void ice_connection_watch (IceConn ice_conn, - IcePointer client_data, +// IcePointer client_data, Bool opening, IcePointer *watch_data) { @@ -1335,31 +1335,31 @@ ice_connection_watch (IceConn ice_conn, } static void -ice_error_handler (IceConn ice_conn, +ice_error_handler (void/*IceConn ice_conn, Bool swap, int offending_minor_opcode, unsigned long offending_sequence, int error_class, int severity, - IcePointer values) + IcePointer values*/) { /* Do nothing */ } static void -ice_io_error_handler (IceConn ice_conn) +ice_io_error_handler (void/*IceConn ice_conn*/) { /* Do nothing */ } static void -smc_error_handler (SmcConn smc_conn, +smc_error_handler (/*SmcConn smc_conn, Bool swap, int offending_minor_opcode, unsigned long offending_sequence, int error_class, int severity, - SmPointer values) + SmPointer values*/void) { /* Do nothing */ }