diff options
author | William Jon McCann <jmccann@redhat.com> | 2008-02-21 23:08:25 +0000 |
---|---|---|
committer | William Jon McCann <mccann@src.gnome.org> | 2008-02-21 23:08:25 +0000 |
commit | 3f2df9aeedb168524317d18bad0ed64c8d06c42b (patch) | |
tree | 9bc37c6409fbe626c4fc4a98365663efb28977a7 /daemon/gdm-display.h | |
parent | e237bdb9536f5587690885039fba0f22c7678d47 (diff) | |
download | gdm-3f2df9aeedb168524317d18bad0ed64c8d06c42b.tar.gz |
Add quick death and looping detection for displays.
2008-02-21 William Jon McCann <jmccann@redhat.com>
* daemon/gdm-display-store.c: (remove_display),
(gdm_display_store_remove):
* daemon/gdm-display.c: (gdm_display_add_user_authorization),
(gdm_display_set_slave_bus_name),
(gdm_display_remove_user_authorization), (finish_idle),
(slave_exited), (slave_died), (_gdm_display_set_status),
(gdm_display_real_manage), (gdm_display_manage),
(gdm_display_real_finish), (gdm_display_finish),
(gdm_display_real_unmanage), (gdm_display_set_property),
(gdm_display_get_property), (gdm_display_dispose),
(gdm_display_class_init), (gdm_display_init),
(gdm_display_finalize):
* daemon/gdm-display.h:
* daemon/gdm-local-display-factory.c: (take_next_display_number),
(on_display_disposed), (on_static_display_status_changed),
(create_display):
* daemon/gdm-manager.c: (remove_display_for_connection):
* daemon/gdm-static-display.c: (gdm_static_display_finish):
Add quick death and looping detection for displays.
svn path=/trunk/; revision=5838
Diffstat (limited to 'daemon/gdm-display.h')
-rw-r--r-- | daemon/gdm-display.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/daemon/gdm-display.h b/daemon/gdm-display.h index 87e274bc..cfdb6564 100644 --- a/daemon/gdm-display.h +++ b/daemon/gdm-display.h @@ -37,14 +37,15 @@ G_BEGIN_DECLS typedef struct GdmDisplayPrivate GdmDisplayPrivate; typedef enum { - GDM_DISPLAY_UNMANAGED, + GDM_DISPLAY_UNMANAGED = 0, GDM_DISPLAY_MANAGED, - GDM_DISPLAY_FINISHED + GDM_DISPLAY_FINISHED, + GDM_DISPLAY_FAILED, } GdmDisplayStatus; typedef struct { - GObject parent; + GObject parent; GdmDisplayPrivate *priv; } GdmDisplay; |