diff options
Diffstat (limited to 'mate-session/gsm-xsmp-client.c')
-rw-r--r-- | mate-session/gsm-xsmp-client.c | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/mate-session/gsm-xsmp-client.c b/mate-session/gsm-xsmp-client.c index 1fcd44e..cae732a 100644 --- a/mate-session/gsm-xsmp-client.c +++ b/mate-session/gsm-xsmp-client.c @@ -2,6 +2,7 @@ * * Copyright (C) 2007 Novell, Inc. * Copyright (C) 2008 Red Hat, Inc. + * Copyright (C) 2012-2021 MATE Developers * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License as @@ -214,7 +215,6 @@ gsm_xsmp_client_init (GsmXSMPClient *client) priv->next_save_yourself_allow_interact = FALSE; } - static void delete_property (GsmXSMPClient *client, const char *name) @@ -247,7 +247,6 @@ delete_property (GsmXSMPClient *client, SmFreeProperty (prop); } - static void debug_print_property (SmProp *prop) { @@ -279,7 +278,6 @@ debug_print_property (SmProp *prop) } } - static void set_properties_callback (SmsConn conn G_GNUC_UNUSED, SmPointer manager_data, @@ -441,7 +439,7 @@ do_save_yourself (GsmXSMPClient *client, g_debug ("GsmXSMPClient: queuing new SaveYourself for '%s'", priv->description); priv->next_save_yourself = save_type; - priv->next_save_yourself_allow_interact = allow_interact; + priv->next_save_yourself_allow_interact = (allow_interact != FALSE); } else { priv->current_save_yourself = save_type; /* make sure we don't have anything queued */ @@ -1105,7 +1103,6 @@ register_client_callback (SmsConn conn, priv->description, previous_id ? previous_id : "NULL"); - /* There are three cases: * 1. id is NULL - we'll use a new one * 2. id is known - we'll use known one @@ -1152,7 +1149,6 @@ register_client_callback (SmsConn conn, return TRUE; } - static void save_yourself_request_callback (SmsConn conn G_GNUC_UNUSED, SmPointer manager_data, |