[gdm/multi-stack: 33/45] adapt smartcard plugin to task iface



commit 8e609a783bf231736d76ee07c7f31a253efeb030
Author: Ray Strode <rstrode redhat com>
Date:   Wed Oct 28 14:11:05 2009 -0400

    adapt smartcard plugin to task iface

 .../plugins/smartcard/gdm-smartcard-extension.c    |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)
---
diff --git a/gui/simple-greeter/plugins/smartcard/gdm-smartcard-extension.c b/gui/simple-greeter/plugins/smartcard/gdm-smartcard-extension.c
index 274132e..9967d5f 100644
--- a/gui/simple-greeter/plugins/smartcard/gdm-smartcard-extension.c
+++ b/gui/simple-greeter/plugins/smartcard/gdm-smartcard-extension.c
@@ -309,6 +309,12 @@ gdm_smartcard_extension_is_choosable (GdmTask *task)
         return TRUE;
 }
 
+gboolean
+gdm_smartcard_extension_is_visible (GdmTask *task)
+{
+        return TRUE;
+}
+
 static void
 gdm_task_iface_init (GdmTaskIface *iface)
 {
@@ -316,6 +322,7 @@ gdm_task_iface_init (GdmTaskIface *iface)
         iface->get_description = gdm_smartcard_extension_get_description;
         iface->get_name = gdm_smartcard_extension_get_name;
         iface->is_choosable = gdm_smartcard_extension_is_choosable;
+        iface->is_visible = gdm_smartcard_extension_is_visible;
 }
 
 static void



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