[gdm/wip/xserver-in-session: 18/19] slave: get rid of GDM_SLAVE_ERROR
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/wip/xserver-in-session: 18/19] slave: get rid of GDM_SLAVE_ERROR
- Date: Thu, 29 Jan 2015 19:33:59 +0000 (UTC)
commit 74a19b83f6440e6cce5d4926c7899686e00d22a6
Author: Ray Strode <rstrode redhat com>
Date: Mon Jan 26 14:19:55 2015 -0500
slave: get rid of GDM_SLAVE_ERROR
It's unused.
daemon/gdm-slave.c | 11 -----------
daemon/gdm-slave.h | 11 -----------
2 files changed, 0 insertions(+), 22 deletions(-)
---
diff --git a/daemon/gdm-slave.c b/daemon/gdm-slave.c
index 0b0d417..001ec5d 100644
--- a/daemon/gdm-slave.c
+++ b/daemon/gdm-slave.c
@@ -106,17 +106,6 @@ static void gdm_slave_finalize (GObject *object);
G_DEFINE_ABSTRACT_TYPE (GdmSlave, gdm_slave, G_TYPE_OBJECT)
-GQuark
-gdm_slave_error_quark (void)
-{
- static GQuark ret = 0;
- if (ret == 0) {
- ret = g_quark_from_static_string ("gdm-slave-error-quark");
- }
-
- return ret;
-}
-
static void
gdm_slave_setup_xhost_auth (XHostAddress *host_entries, XServerInterpretedAddress *si_entries)
{
diff --git a/daemon/gdm-slave.h b/daemon/gdm-slave.h
index 20b1cf3..eefbca8 100644
--- a/daemon/gdm-slave.h
+++ b/daemon/gdm-slave.h
@@ -59,17 +59,6 @@ typedef struct
void (*stopped) (GdmSlave *slave);
} GdmSlaveClass;
-typedef enum
-{
- GDM_SLAVE_ERROR_GENERIC,
- GDM_SLAVE_ERROR_UNSUPPORTED,
- GDM_SLAVE_ERROR_NOT_OPENED,
- GDM_SLAVE_ERROR_WRONG_SESSION,
-} GdmSlaveError;
-
-#define GDM_SLAVE_ERROR (gdm_slave_error_quark ())
-
-GQuark gdm_slave_error_quark (void);
GType gdm_slave_get_type (void);
gboolean gdm_slave_start (GdmSlave *slave);
gboolean gdm_slave_stop (GdmSlave *slave);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]