[maemo-commits] [maemo-commits] r9028 - in projects/haf/branches/maemo-af-desktop/hildon-desktop: . src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Wed Jan 10 16:06:39 EET 2007
Author: moimart
Date: 2007-01-10 16:06:38 +0200 (Wed, 10 Jan 2007)
New Revision: 9028

Modified:
   projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog
   projects/haf/branches/maemo-af-desktop/hildon-desktop/src/hn-app-switcher.c
Log:

	* src/hn-app-switcher.c: Reffing and unreffing usage of HDWM.
	* ChangeLog updated.
	


Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog	2007-01-10 14:04:31 UTC (rev 9027)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/ChangeLog	2007-01-10 14:06:38 UTC (rev 9028)
@@ -1,5 +1,9 @@
 2007-01-10  Moises Martinez  <moises.martinez at nokia.com>
 
+	* src/hn-app-switcher.c: Reffing and unreffing usage of HDWM.
+
+2007-01-10  Moises Martinez  <moises.martinez at nokia.com>
+
 	* test/test7.c:
 	- Added test for closing applications nicely.
 	* libhildonwm/hd-wm-watched-window.h:

Modified: projects/haf/branches/maemo-af-desktop/hildon-desktop/src/hn-app-switcher.c
===================================================================
--- projects/haf/branches/maemo-af-desktop/hildon-desktop/src/hn-app-switcher.c	2007-01-10 14:04:31 UTC (rev 9027)
+++ projects/haf/branches/maemo-af-desktop/hildon-desktop/src/hn-app-switcher.c	2007-01-10 14:06:38 UTC (rev 9028)
@@ -1006,6 +1006,8 @@
 
   app_switcher->hdwm = hd_wm_get_singleton ();
 
+  g_object_ref (app_switcher->hdwm);
+
   g_debug ("singleton wm: %p",app_switcher->hdwm);
 
   if (!app_switcher->priv->home_info)
@@ -1806,6 +1808,8 @@
   if (priv->home_info)
     hd_entry_info_free (priv->home_info);
 
+  g_object_unref (app_switch->hdwm);
+
   g_debug ("Destroying HNAppSwitcher");
 
   G_OBJECT_CLASS (hn_app_switcher_parent_class)->finalize (gobject);


More information about the maemo-commits mailing list