|
Lines 123-130
nameplate_tile_finalize (GObject * g_object)
Link Here
|
| 123 |
np_tile = NAMEPLATE_TILE (g_object); |
123 |
np_tile = NAMEPLATE_TILE (g_object); |
| 124 |
priv = NAMEPLATE_TILE_GET_PRIVATE (np_tile); |
124 |
priv = NAMEPLATE_TILE_GET_PRIVATE (np_tile); |
| 125 |
|
125 |
|
| 126 |
if (priv->tooltips) |
126 |
if (priv->tooltips) { |
|
|
127 |
static int num_destroyed_tooltips; |
| 128 |
|
| 127 |
gtk_object_destroy (GTK_OBJECT (priv->tooltips)); |
129 |
gtk_object_destroy (GTK_OBJECT (priv->tooltips)); |
|
|
130 |
num_destroyed_tooltips++; |
| 131 |
printf ("Destroyed tooltips: %d\n", num_destroyed_tooltips); |
| 132 |
} |
| 128 |
|
133 |
|
| 129 |
(*G_OBJECT_CLASS (nameplate_tile_parent_class)->finalize) (g_object); |
134 |
(*G_OBJECT_CLASS (nameplate_tile_parent_class)->finalize) (g_object); |
| 130 |
} |
135 |
} |
|
Lines 239-246
nameplate_tile_set_property (GObject * g_object, guint prop_id, const GValue * v
Link Here
|
| 239 |
|
244 |
|
| 240 |
case PROP_NAMEPLATE_TOOLTIP: |
245 |
case PROP_NAMEPLATE_TOOLTIP: |
| 241 |
if (tooltip) { |
246 |
if (tooltip) { |
| 242 |
if (! priv->tooltips) |
247 |
if (! priv->tooltips) { |
|
|
248 |
static int num_created_tooltips; |
| 249 |
|
| 243 |
priv->tooltips = gtk_tooltips_new (); |
250 |
priv->tooltips = gtk_tooltips_new (); |
|
|
251 |
num_created_tooltips++; |
| 252 |
printf ("Created tooltips: %d\n", num_created_tooltips); |
| 253 |
} |
| 244 |
|
254 |
|
| 245 |
gtk_tooltips_set_tip (priv->tooltips, GTK_WIDGET(this), tooltip, tooltip); |
255 |
gtk_tooltips_set_tip (priv->tooltips, GTK_WIDGET(this), tooltip, tooltip); |
| 246 |
gtk_tooltips_enable(priv->tooltips); |
256 |
gtk_tooltips_enable(priv->tooltips); |
| 247 |
- |
|
|
| 248 |
-- |
| 249 |
libslab/ChangeLog | 4 ++++ |
257 |
libslab/ChangeLog | 4 ++++ |
| 250 |
libslab/bookmark-agent.c | 6 ++++++ |
258 |
libslab/bookmark-agent.c | 6 ++++++ |
| 251 |
2 files changed, 10 insertions(+), 0 deletions(-) |
259 |
2 files changed, 10 insertions(+), 0 deletions(-) |