Updating branch refs/heads/master
         to 5646136fbd66c9f09f9f760bb294e3c73715694b (commit)
       from bd232527cbdff46d49f91656be7f12a6bae6b335 (commit)

commit 5646136fbd66c9f09f9f760bb294e3c73715694b
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