summaryrefslogtreecommitdiff
path: root/daemon/gdm-display-store.h
diff options
context:
space:
mode:
authorRay Strode <rstrode@redhat.com>2012-07-07 16:10:56 -0400
committerRay Strode <rstrode@redhat.com>2012-07-17 03:38:10 -0400
commit4e392e230d0ea8531c1ea387fca2a6273568efdb (patch)
tree01fb0dd170439a612a5fc7bf67c13a862ac6a998 /daemon/gdm-display-store.h
parentdddeab1c9223cc5d8427217846faa2b40e45c116 (diff)
downloadgdm-4e392e230d0ea8531c1ea387fca2a6273568efdb.tar.gz
daemon: Fix added/remove signal emission in display code
The display store is a small container object meant to track currently known about displays. It has two signals, "display-added" and "display-removed" that are supposed to get emitted any time a display gets added or removed from the store. Likewise, the GdmManager object has two similar signals that are supposed to be emitted under similar circumstances. These signals in GdmDisplayStore and GdmManager were never actually hooked up to fire at the appropriate times. This commit changes GdmDisplayStore and GdmManager to properly fire these signals.
Diffstat (limited to 'daemon/gdm-display-store.h')
-rw-r--r--daemon/gdm-display-store.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/daemon/gdm-display-store.h b/daemon/gdm-display-store.h
index dcd88149..ccebd3f1 100644
--- a/daemon/gdm-display-store.h
+++ b/daemon/gdm-display-store.h
@@ -79,6 +79,9 @@ void gdm_display_store_foreach (GdmDisplayStore
guint gdm_display_store_foreach_remove (GdmDisplayStore *store,
GdmDisplayStoreFunc func,
gpointer user_data);
+GdmDisplay * gdm_display_store_lookup (GdmDisplayStore *store,
+ const char *id);
+
GdmDisplay * gdm_display_store_find (GdmDisplayStore *store,
GdmDisplayStoreFunc predicate,
gpointer user_data);