[gdm] daemon: Remove unused GdmWelcomeSession properties
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] daemon: Remove unused GdmWelcomeSession properties
- Date: Thu, 19 Jul 2012 16:19:48 +0000 (UTC)
commit 5ffcae8cc49c10d8eaa5fe610f4692fe949e8f75
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Tue Jul 17 17:13:03 2012 -0400
daemon: Remove unused GdmWelcomeSession properties
These weren't used, either in the implementation, nor the interface.
https://bugzilla.gnome.org/show_bug.cgi?id=678057
daemon/gdm-welcome-session.c | 51 ------------------------------------------
1 files changed, 0 insertions(+), 51 deletions(-)
---
diff --git a/daemon/gdm-welcome-session.c b/daemon/gdm-welcome-session.c
index 9a3c81d..3b20eef 100644
--- a/daemon/gdm-welcome-session.c
+++ b/daemon/gdm-welcome-session.c
@@ -76,10 +76,6 @@ struct GdmWelcomeSessionPrivate
GPid dbus_pid;
char *dbus_bus_address;
- char *server_dbus_path;
- char *server_dbus_interface;
-
- char *server_address;
};
enum {
@@ -95,8 +91,6 @@ enum {
PROP_GROUP_NAME,
PROP_RUNTIME_DIR,
PROP_COMMAND,
- PROP_SERVER_DBUS_PATH,
- PROP_SERVER_DBUS_INTERFACE,
};
enum {
@@ -961,22 +955,6 @@ _gdm_welcome_session_set_runtime_dir (GdmWelcomeSession *welcome_session,
}
static void
-_gdm_welcome_session_set_server_dbus_path (GdmWelcomeSession *welcome_session,
- const char *name)
-{
- g_free (welcome_session->priv->server_dbus_path);
- welcome_session->priv->server_dbus_path = g_strdup (name);
-}
-
-static void
-_gdm_welcome_session_set_server_dbus_interface (GdmWelcomeSession *welcome_session,
- const char *name)
-{
- g_free (welcome_session->priv->server_dbus_interface);
- welcome_session->priv->server_dbus_interface = g_strdup (name);
-}
-
-static void
_gdm_welcome_session_set_command (GdmWelcomeSession *welcome_session,
const char *name)
{
@@ -1025,12 +1003,6 @@ gdm_welcome_session_set_property (GObject *object,
case PROP_RUNTIME_DIR:
_gdm_welcome_session_set_runtime_dir (self, g_value_get_string (value));
break;
- case PROP_SERVER_DBUS_PATH:
- _gdm_welcome_session_set_server_dbus_path (self, g_value_get_string (value));
- break;
- case PROP_SERVER_DBUS_INTERFACE:
- _gdm_welcome_session_set_server_dbus_interface (self, g_value_get_string (value));
- break;
case PROP_COMMAND:
_gdm_welcome_session_set_command (self, g_value_get_string (value));
break;
@@ -1081,12 +1053,6 @@ gdm_welcome_session_get_property (GObject *object,
case PROP_RUNTIME_DIR:
g_value_set_string (value, self->priv->runtime_dir);
break;
- case PROP_SERVER_DBUS_PATH:
- g_value_set_string (value, self->priv->server_dbus_path);
- break;
- case PROP_SERVER_DBUS_INTERFACE:
- g_value_set_string (value, self->priv->server_dbus_interface);
- break;
case PROP_COMMAND:
g_value_set_string (value, self->priv->command);
break;
@@ -1179,20 +1145,6 @@ gdm_welcome_session_class_init (GdmWelcomeSessionClass *klass)
NULL,
G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
g_object_class_install_property (object_class,
- PROP_SERVER_DBUS_PATH,
- g_param_spec_string ("server-dbus-path",
- "server dbus path",
- "server dbus path",
- NULL,
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
- g_object_class_install_property (object_class,
- PROP_SERVER_DBUS_INTERFACE,
- g_param_spec_string ("server-dbus-interface",
- "server dbus interface",
- "server dbus interface",
- NULL,
- G_PARAM_READWRITE | G_PARAM_CONSTRUCT_ONLY));
- g_object_class_install_property (object_class,
PROP_COMMAND,
g_param_spec_string ("command",
"command",
@@ -1290,9 +1242,6 @@ gdm_welcome_session_finalize (GObject *object)
g_free (welcome_session->priv->x11_display_device);
g_free (welcome_session->priv->x11_display_hostname);
g_free (welcome_session->priv->x11_authority_file);
- g_free (welcome_session->priv->server_address);
- g_free (welcome_session->priv->server_dbus_path);
- g_free (welcome_session->priv->server_dbus_interface);
g_free (welcome_session->priv->dbus_bus_address);
g_free (welcome_session->priv->session_id);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]