[maemo-commits] [maemo-commits] r17888 - in projects/haf/trunk/libmatchbox2: . matchbox/comp-mgr

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Mon Mar 30 17:55:23 EEST 2009
Author: kihamala
Date: 2009-03-30 17:55:09 +0300 (Mon, 30 Mar 2009)
New Revision: 17888

Modified:
   projects/haf/trunk/libmatchbox2/ChangeLog
   projects/haf/trunk/libmatchbox2/matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c
Log:
do not reference in the accessor


Modified: projects/haf/trunk/libmatchbox2/ChangeLog
===================================================================
--- projects/haf/trunk/libmatchbox2/ChangeLog	2009-03-30 14:53:20 UTC (rev 17887)
+++ projects/haf/trunk/libmatchbox2/ChangeLog	2009-03-30 14:55:09 UTC (rev 17888)
@@ -1,3 +1,8 @@
+2009-03-27  Kimmo Hämäläinen  <kimmo.hamalainen at nokia.com>
+
+	* matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c
+	(mb_wm_comp_mgr_clutter_client_get_actor): Do not reference the actor.
+
 2009-03-30  Gordon Williams  <gordon.williams at collabora.co.uk>
 
         * matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c: Applied patch from

Modified: projects/haf/trunk/libmatchbox2/matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c
===================================================================
--- projects/haf/trunk/libmatchbox2/matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c	2009-03-30 14:53:20 UTC (rev 17887)
+++ projects/haf/trunk/libmatchbox2/matchbox/comp-mgr/mb-wm-comp-mgr-clutter.c	2009-03-30 14:55:09 UTC (rev 17888)
@@ -394,8 +394,8 @@
 
 ClutterActor *
 mb_wm_comp_mgr_clutter_client_get_actor (MBWMCompMgrClutterClient *cclient)
-{ /* Don't try to g_object_ref(NULL), which is when we're unmapped. */
-  return cclient->priv->actor ? g_object_ref (cclient->priv->actor) : NULL;
+{
+  return cclient->priv->actor ? cclient->priv->actor : NULL;
 }
 
 


More information about the maemo-commits mailing list