[maemo-commits] [maemo-commits] r10942 - in projects/haf/trunk/hildon-desktop: . src

From: subversion at stage.maemo.org subversion at stage.maemo.org
Date: Tue Apr 3 17:57:55 EEST 2007
Author: jobi
Date: 2007-04-03 17:57:54 +0300 (Tue, 03 Apr 2007)
New Revision: 10942

Modified:
   projects/haf/trunk/hildon-desktop/ChangeLog
   projects/haf/trunk/hildon-desktop/src/hd-home-background-dialog.c
Log:

2007-04-03  Johan Bilien  <johan.bilien at nokia.com>

	* src/hd-home-background-dialog.c:
	- copy the background instead of reffing it.



Modified: projects/haf/trunk/hildon-desktop/ChangeLog
===================================================================
--- projects/haf/trunk/hildon-desktop/ChangeLog	2007-04-03 14:52:04 UTC (rev 10941)
+++ projects/haf/trunk/hildon-desktop/ChangeLog	2007-04-03 14:57:54 UTC (rev 10942)
@@ -1,5 +1,10 @@
 2007-04-03  Johan Bilien  <johan.bilien at nokia.com>
 
+	* src/hd-home-background-dialog.c:
+	- copy the background instead of reffing it.
+
+2007-04-03  Johan Bilien  <johan.bilien at nokia.com>
+
 	* libhildondesktop/hildon-desktop-panel-expandable.c:
 	- fixed a compilation warning
 

Modified: projects/haf/trunk/hildon-desktop/src/hd-home-background-dialog.c
===================================================================
--- projects/haf/trunk/hildon-desktop/src/hd-home-background-dialog.c	2007-04-03 14:52:04 UTC (rev 10941)
+++ projects/haf/trunk/hildon-desktop/src/hd-home-background-dialog.c	2007-04-03 14:57:54 UTC (rev 10942)
@@ -906,7 +906,7 @@
   if (priv->background)
     g_object_unref (priv->background);
 
-  priv->background = g_object_ref (background);
+  priv->background = hd_home_background_copy (background);
 
   g_object_notify (G_OBJECT (dialog), "background");
   hd_home_background_dialog_sync_from_background (dialog);


More information about the maemo-commits mailing list