Updating branch refs/heads/aliov/hal-deprecation
         to 92c496c8c5fa9bd526e78bffa23e1c764dd062a3 (commit)
       from 5d51cc8620d294f3dc2e1bd0d78b28a0b3b9bb7f (commit)

commit 92c496c8c5fa9bd526e78bffa23e1c764dd062a3
Author: Ali Abdallah <[email protected]>
Date:   Wed Feb 3 12:09:23 2010 +0100

    Fix consolekit proxy unref.

 xfce4-session/xfsm-shutdown-helper.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/xfce4-session/xfsm-shutdown-helper.c 
b/xfce4-session/xfsm-shutdown-helper.c
index 16df203..63306e9 100644
--- a/xfce4-session/xfsm-shutdown-helper.c
+++ b/xfce4-session/xfsm-shutdown-helper.c
@@ -393,13 +393,13 @@ xfsm_shutdown_helper_init_polkit_data (XfsmShutdownHelper 
*helper)
              g_free (consolekit_session);
              subject_created = TRUE;
            }
+         g_object_unref (proxy);
        }
       else if (error)
        {
          g_warning ("'GetSessionForCookie' failed : %s", error->message);
          g_error_free (error);
        }
-      g_object_unref (proxy);
     }
   
   /**
_______________________________________________
Xfce4-commits mailing list
[email protected]
http://foo-projects.org/mailman/listinfo/xfce4-commits

Reply via email to