gnome-main-menu r515 - trunk/libslab
- From: federico svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-main-menu r515 - trunk/libslab
- Date: Tue, 28 Oct 2008 01:26:32 +0000 (UTC)
Author: federico
Date: Tue Oct 28 01:26:32 2008
New Revision: 515
URL: http://svn.gnome.org/viewvc/gnome-main-menu?rev=515&view=rev
Log:
Free the tooltips when a tile is freed
Signed-off-by: Federico Mena Quintero <federico novell com>
Modified:
trunk/libslab/ChangeLog
trunk/libslab/nameplate-tile.c
Modified: trunk/libslab/nameplate-tile.c
==============================================================================
--- trunk/libslab/nameplate-tile.c (original)
+++ trunk/libslab/nameplate-tile.c Tue Oct 28 01:26:32 2008
@@ -117,6 +117,15 @@
static void
nameplate_tile_finalize (GObject * g_object)
{
+ NameplateTile *np_tile;
+ NameplateTilePrivate *priv;
+
+ np_tile = NAMEPLATE_TILE (g_object);
+ priv = NAMEPLATE_TILE_GET_PRIVATE (np_tile);
+
+ if (priv->tooltips)
+ gtk_object_destroy (GTK_OBJECT (priv->tooltips));
+
(*G_OBJECT_CLASS (nameplate_tile_parent_class)->finalize) (g_object);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]