[gdm/multi-stack: 33/46] adapt fingerprint to task iface



commit a9c858ac6e579fe0f3ce5c13e213d727ccdfd762
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]