gnome-main-menu r521 - trunk/libslab
- From: federico svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-main-menu r521 - trunk/libslab
- Date: Tue, 28 Oct 2008 01:29:18 +0000 (UTC)
Author: federico
Date: Tue Oct 28 01:29:18 2008
New Revision: 521
URL: http://svn.gnome.org/viewvc/gnome-main-menu?rev=521&view=rev
Log:
Print new and deleted tiles
Modified:
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:29:18 2008
@@ -124,11 +124,8 @@
priv = NAMEPLATE_TILE_GET_PRIVATE (np_tile);
if (priv->tooltips) {
- static int num_destroyed_tooltips;
-
gtk_object_destroy (GTK_OBJECT (priv->tooltips));
- num_destroyed_tooltips++;
- printf ("Destroyed tooltips: %d\n", num_destroyed_tooltips);
+ printf ("del: %p\n", np_tile);
}
(*G_OBJECT_CLASS (nameplate_tile_parent_class)->finalize) (g_object);
@@ -245,11 +242,8 @@
case PROP_NAMEPLATE_TOOLTIP:
if (tooltip) {
if (! priv->tooltips) {
- static int num_created_tooltips;
-
priv->tooltips = gtk_tooltips_new ();
- num_created_tooltips++;
- printf ("Created tooltips: %d\n", num_created_tooltips);
+ printf ("new: %p (%s)\n", this, tooltip);
}
gtk_tooltips_set_tip (priv->tooltips, GTK_WIDGET(this), tooltip, tooltip);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]