[gdm/multi-stack: 36/50] adapt fingerprint to task iface



commit bc661cd72996d5eeb3b613d89b47780ed609d1b4
Author: Ray Strode <rstrode redhat com>
Date:   Wed Oct 28 14:10:50 2009 -0400

    adapt fingerprint to task iface

 .../fingerprint/gdm-fingerprint-extension.c        |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gui/simple-greeter/plugins/fingerprint/gdm-fingerprint-extension.c b/gui/simple-greeter/plugins/fingerprint/gdm-fingerprint-extension.c
index 316ef46..e1fc0ed 100644
--- a/gui/simple-greeter/plugins/fingerprint/gdm-fingerprint-extension.c
+++ b/gui/simple-greeter/plugins/fingerprint/gdm-fingerprint-extension.c
@@ -194,6 +194,12 @@ gdm_fingerprint_extension_is_choosable (GdmTask *task)
         return FALSE;
 }
 
+gboolean
+gdm_fingerprint_extension_is_visible (GdmTask *task)
+{
+        return TRUE;
+}
+
 static void
 gdm_task_iface_init (GdmTaskIface *iface)
 {
@@ -201,6 +207,7 @@ gdm_task_iface_init (GdmTaskIface *iface)
         iface->get_description = gdm_fingerprint_extension_get_description;
         iface->get_name = gdm_fingerprint_extension_get_name;
         iface->is_choosable = gdm_fingerprint_extension_is_choosable;
+        iface->is_visible = gdm_fingerprint_extension_is_visible;
 }
 
 static void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]