[gnome-settings-daemon] smartcard: return the right type



commit 59ccc8613a9092a4e9fde022d23a85400c479ac6
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Wed Mar 9 19:00:12 2011 +0100

    smartcard: return the right type

 plugins/smartcard/gsd-smartcard-manager.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/plugins/smartcard/gsd-smartcard-manager.c b/plugins/smartcard/gsd-smartcard-manager.c
index b00bb90..fe3e68a 100644
--- a/plugins/smartcard/gsd-smartcard-manager.c
+++ b/plugins/smartcard/gsd-smartcard-manager.c
@@ -1405,7 +1405,7 @@ gsd_smartcard_manager_create_worker (GsdSmartcardManager  *manager,
         write_fd = -1;
         read_fd = -1;
         if (!open_pipe (&write_fd, &read_fd)) {
-                return FALSE;
+                return NULL;
         }
 
         worker = gsd_smartcard_manager_worker_new (manager,
@@ -1441,7 +1441,7 @@ on_timeout (GsdSmartcardManager *manager)
                 g_warning ("could not start smartcard manager - %s",
                            error->message);
                 g_error_free (error);
-                return 1;
+                return TRUE;
         }
         g_print ("Please re-insert smartcard\n");
 



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