[gdm] Don't unref user in _update_from_object_path



commit b4756bb27f22628a86b404f5685c6c9357cbe69b
Author: Ray Strode <rstrode redhat com>
Date:   Mon Sep 13 09:52:12 2010 -0400

    Don't unref user in _update_from_object_path
    
    commit 48570e22f4893c7088abc51f1de9bacfb772b13c refactored
    new_from_object_path into update_from_object_path.
    
    The refactoring didn't drop an unref call that it should have though,
    this commit cleans that up.

 gui/simple-greeter/gdm-user.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gui/simple-greeter/gdm-user.c b/gui/simple-greeter/gdm-user.c
index 317b721..4131772 100644
--- a/gui/simple-greeter/gdm-user.c
+++ b/gui/simple-greeter/gdm-user.c
@@ -1033,8 +1033,6 @@ _gdm_user_update_from_object_path (GdmUser    *user,
         if (!update_info (user)) {
                 g_warning ("Couldn't update info for user with object path %s", object_path);
         }
-
-        g_object_unref (user);
 }
 
 gboolean



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