[gnome-session] client: Use the correct GsmClientEndSessionFlag type for flags
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-session] client: Use the correct GsmClientEndSessionFlag type for flags
- Date: Fri, 25 Jan 2013 13:39:43 +0000 (UTC)
commit 9d8b8000f5a69c4cba35ac3ae7fb157605517726
Author: Bastien Nocera <hadess hadess net>
Date: Thu Jan 24 09:28:09 2013 +0100
client: Use the correct GsmClientEndSessionFlag type for flags
https://bugzilla.gnome.org/show_bug.cgi?id=692429
gnome-session/gsm-client.c | 12 ++++++------
gnome-session/gsm-client.h | 4 ++--
gnome-session/gsm-dbus-client.c | 12 ++++++------
gnome-session/gsm-xsmp-client.c | 12 ++++++------
4 files changed, 20 insertions(+), 20 deletions(-)
---
diff --git a/gnome-session/gsm-client.c b/gnome-session/gsm-client.c
index a6e0306..efabde0 100644
--- a/gnome-session/gsm-client.c
+++ b/gnome-session/gsm-client.c
@@ -488,9 +488,9 @@ gsm_client_cancel_end_session (GsmClient *client,
gboolean
-gsm_client_query_end_session (GsmClient *client,
- guint flags,
- GError **error)
+gsm_client_query_end_session (GsmClient *client,
+ GsmClientEndSessionFlag flags,
+ GError **error)
{
g_return_val_if_fail (GSM_IS_CLIENT (client), FALSE);
@@ -498,9 +498,9 @@ gsm_client_query_end_session (GsmClient *client,
}
gboolean
-gsm_client_end_session (GsmClient *client,
- guint flags,
- GError **error)
+gsm_client_end_session (GsmClient *client,
+ GsmClientEndSessionFlag flags,
+ GError **error)
{
g_return_val_if_fail (GSM_IS_CLIENT (client), FALSE);
diff --git a/gnome-session/gsm-client.h b/gnome-session/gsm-client.h
index 8fa28ad..aeb03c2 100644
--- a/gnome-session/gsm-client.h
+++ b/gnome-session/gsm-client.h
@@ -83,10 +83,10 @@ struct _GsmClientClass
GsmClientRestartStyle (*impl_get_restart_style_hint) (GsmClient *client);
guint (*impl_get_unix_process_id) (GsmClient *client);
gboolean (*impl_query_end_session) (GsmClient *client,
- guint flags,
+ GsmClientEndSessionFlag flags,
GError **error);
gboolean (*impl_end_session) (GsmClient *client,
- guint flags,
+ GsmClientEndSessionFlag flags,
GError **error);
gboolean (*impl_cancel_end_session) (GsmClient *client,
GError **error);
diff --git a/gnome-session/gsm-dbus-client.c b/gnome-session/gsm-dbus-client.c
index 855ce8f..3f7621a 100644
--- a/gnome-session/gsm-dbus-client.c
+++ b/gnome-session/gsm-dbus-client.c
@@ -479,9 +479,9 @@ dbus_client_get_unix_process_id (GsmClient *client)
}
static gboolean
-dbus_client_query_end_session (GsmClient *client,
- guint flags,
- GError **error)
+dbus_client_query_end_session (GsmClient *client,
+ GsmClientEndSessionFlag flags,
+ GError **error)
{
GsmDBusClient *dbus_client = (GsmDBusClient *) client;
DBusMessage *message;
@@ -541,9 +541,9 @@ dbus_client_query_end_session (GsmClient *client,
}
static gboolean
-dbus_client_end_session (GsmClient *client,
- guint flags,
- GError **error)
+dbus_client_end_session (GsmClient *client,
+ GsmClientEndSessionFlag flags,
+ GError **error)
{
GsmDBusClient *dbus_client = (GsmDBusClient *) client;
DBusMessage *message;
diff --git a/gnome-session/gsm-xsmp-client.c b/gnome-session/gsm-xsmp-client.c
index b1c40b6..f84fab3 100644
--- a/gnome-session/gsm-xsmp-client.c
+++ b/gnome-session/gsm-xsmp-client.c
@@ -711,9 +711,9 @@ xsmp_stop (GsmClient *client,
}
static gboolean
-xsmp_query_end_session (GsmClient *client,
- guint flags,
- GError **error)
+xsmp_query_end_session (GsmClient *client,
+ GsmClientEndSessionFlag flags,
+ GError **error)
{
gboolean allow_interact;
int save_type;
@@ -740,9 +740,9 @@ xsmp_query_end_session (GsmClient *client,
}
static gboolean
-xsmp_end_session (GsmClient *client,
- guint flags,
- GError **error)
+xsmp_end_session (GsmClient *client,
+ GsmClientEndSessionFlag flags,
+ GError **error)
{
gboolean phase2;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]