gnome-desktop r5182 - trunk/libgnome-desktop
- From: federico svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-desktop r5182 - trunk/libgnome-desktop
- Date: Sat, 16 Aug 2008 01:46:25 +0000 (UTC)
Author: federico
Date: Sat Aug 16 01:46:25 2008
New Revision: 5182
URL: http://svn.gnome.org/viewvc/gnome-desktop?rev=5182&view=rev
Log:
Implement the finalizer for GnomeRRLabeler
Signed-off-by: Federico Mena Quintero <federico novell com>
Modified:
trunk/libgnome-desktop/gnome-rr-labeler.c
Modified: trunk/libgnome-desktop/gnome-rr-labeler.c
==============================================================================
--- trunk/libgnome-desktop/gnome-rr-labeler.c (original)
+++ trunk/libgnome-desktop/gnome-rr-labeler.c Sat Aug 16 01:46:25 2008
@@ -74,7 +74,14 @@
* caller do that instead.
*/
- gnome_rr_labeler_hide (labeler);
+ g_free (labeler->palette);
+ labeler->palette = NULL;
+
+ if (labeler->windows != NULL) {
+ gnome_rr_labeler_hide (labeler);
+ g_free (labeler->windows);
+ labeler->windows = NULL;
+ }
G_OBJECT_CLASS (gnome_rr_labeler_parent_class)->finalize (object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]