summaryrefslogtreecommitdiff
path: root/daemon
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2009-02-06 15:35:00 -0500
committerRay Strode <rstrode@redhat.com>2009-10-21 16:17:26 -0400
commit57a0d19b8b1e5e7a2132b15ea2c536207b61f80f (patch)
tree21ebbc97839791e9cd45abe71dcf4b2150431d9f /daemon
parent8d5ddd913f13581df1662730745c1d906772185e (diff)
downloadgdm-57a0d19b8b1e5e7a2132b15ea2c536207b61f80f.tar.gz
Drop "stopped" signal from worker-job class
It was unused, dead code.
Diffstat (limited to 'daemon')
-rw-r--r--daemon/gdm-session-direct.c14
-rw-r--r--daemon/gdm-session-worker-job.c11
-rw-r--r--daemon/gdm-session-worker-job.h1
3 files changed, 0 insertions, 26 deletions
diff --git a/daemon/gdm-session-direct.c b/daemon/gdm-session-direct.c
index 47a57789..b6abae42 100644
--- a/daemon/gdm-session-direct.c
+++ b/daemon/gdm-session-direct.c
@@ -1539,13 +1539,6 @@ gdm_session_direct_init (GdmSessionDirect *session)
}
static void
-worker_stopped (GdmSessionWorkerJob *job,
- GdmSessionDirect *session)
-{
- g_debug ("GdmSessionDirect: Worker job stopped");
-}
-
-static void
worker_started (GdmSessionWorkerJob *job,
GdmSessionDirect *session)
{
@@ -1588,10 +1581,6 @@ start_worker (GdmSessionDirect *session)
session->priv->job = gdm_session_worker_job_new ();
gdm_session_worker_job_set_server_address (session->priv->job, session->priv->server_address);
g_signal_connect (session->priv->job,
- "stopped",
- G_CALLBACK (worker_stopped),
- session);
- g_signal_connect (session->priv->job,
"started",
G_CALLBACK (worker_started),
session);
@@ -1613,9 +1602,6 @@ static void
stop_worker (GdmSessionDirect *session)
{
g_signal_handlers_disconnect_by_func (session->priv->job,
- G_CALLBACK (worker_stopped),
- session);
- g_signal_handlers_disconnect_by_func (session->priv->job,
G_CALLBACK (worker_started),
session);
g_signal_handlers_disconnect_by_func (session->priv->job,
diff --git a/daemon/gdm-session-worker-job.c b/daemon/gdm-session-worker-job.c
index 67234643..633d6e29 100644
--- a/daemon/gdm-session-worker-job.c
+++ b/daemon/gdm-session-worker-job.c
@@ -68,7 +68,6 @@ enum {
enum {
STARTED,
- STOPPED,
EXITED,
DIED,
LAST_SIGNAL
@@ -390,16 +389,6 @@ gdm_session_worker_job_class_init (GdmSessionWorkerJobClass *klass)
g_cclosure_marshal_VOID__VOID,
G_TYPE_NONE,
0);
- signals [STOPPED] =
- g_signal_new ("stopped",
- G_OBJECT_CLASS_TYPE (object_class),
- G_SIGNAL_RUN_FIRST,
- G_STRUCT_OFFSET (GdmSessionWorkerJobClass, stopped),
- NULL,
- NULL,
- g_cclosure_marshal_VOID__VOID,
- G_TYPE_NONE,
- 0);
signals [EXITED] =
g_signal_new ("exited",
G_OBJECT_CLASS_TYPE (object_class),
diff --git a/daemon/gdm-session-worker-job.h b/daemon/gdm-session-worker-job.h
index d42eb37c..5ad1c924 100644
--- a/daemon/gdm-session-worker-job.h
+++ b/daemon/gdm-session-worker-job.h
@@ -46,7 +46,6 @@ typedef struct
GObjectClass parent_class;
void (* started) (GdmSessionWorkerJob *session_worker_job);
- void (* stopped) (GdmSessionWorkerJob *session_worker_job);
void (* exited) (GdmSessionWorkerJob *session_worker_job,
int exit_code);