[gdm/wip/xserver-in-session: 6/12] xdmcp-chooser-display: drop extraneous code
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm/wip/xserver-in-session: 6/12] xdmcp-chooser-display: drop extraneous code
- Date: Thu, 22 Jan 2015 14:38:54 +0000 (UTC)
commit b0dc829f67aac9227f55a81650c23d98f7dce338
Author: Ray Strode <rstrode redhat com>
Date: Mon Jan 19 08:38:21 2015 -0500
xdmcp-chooser-display: drop extraneous code
xdmcp chooser display has a lot of unnecssary boilerplate.
This commit gets rid of it.
daemon/gdm-xdmcp-chooser-display.c | 24 ------------------------
1 files changed, 0 insertions(+), 24 deletions(-)
---
diff --git a/daemon/gdm-xdmcp-chooser-display.c b/daemon/gdm-xdmcp-chooser-display.c
index 3821371..28d110c 100644
--- a/daemon/gdm-xdmcp-chooser-display.c
+++ b/daemon/gdm-xdmcp-chooser-display.c
@@ -42,25 +42,14 @@
#include "gdm-common.h"
#include "gdm-address.h"
-enum {
- LAST_SIGNAL
-};
-
-static guint signals [LAST_SIGNAL] = { 0, };
-
static void gdm_xdmcp_chooser_display_class_init (GdmXdmcpChooserDisplayClass *klass);
static void gdm_xdmcp_chooser_display_init (GdmXdmcpChooserDisplay *xdmcp_chooser_display);
-static gboolean gdm_xdmcp_chooser_display_prepare (GdmDisplay *display);
G_DEFINE_TYPE (GdmXdmcpChooserDisplay, gdm_xdmcp_chooser_display, GDM_TYPE_XDMCP_DISPLAY)
static void
gdm_xdmcp_chooser_display_class_init (GdmXdmcpChooserDisplayClass *klass)
{
- GObjectClass *object_class = G_OBJECT_CLASS (klass);
- GdmDisplayClass *display_class = GDM_DISPLAY_CLASS (klass);
-
- display_class->prepare = gdm_xdmcp_chooser_display_prepare;
}
static void
@@ -68,19 +57,6 @@ gdm_xdmcp_chooser_display_init (GdmXdmcpChooserDisplay *xdmcp_chooser_display)
{
}
-static gboolean
-gdm_xdmcp_chooser_display_prepare (GdmDisplay *display)
-{
- GdmXdmcpChooserSlave *slave;
-
- if (!GDM_DISPLAY_CLASS (gdm_xdmcp_chooser_display_parent_class)->prepare (display))
- return FALSE;
-
- slave = GDM_XDMCP_CHOOSER_SLAVE (gdm_display_get_slave (display));
-
- return TRUE;
-}
-
GdmDisplay *
gdm_xdmcp_chooser_display_new (const char *hostname,
int number,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]