Commit ad987142 authored by Jeff Garzik's avatar Jeff Garzik Committed by Jeff Garzik

Fix recent change to match existing coding style.

Fri Jan 22 12:20:54 1999  Jeff Garzik  <jgarzik@pobox.com>

        * gtk/gtktooltips.c:
        Fix recent change to match existing coding style.
parent 060c32e4
Fri Jan 22 12:20:54 1999 Jeff Garzik <jgarzik@pobox.com>
* gtk/gtktooltips.c:
Fix recent change to match existing coding style.
Fri Jan 22 07:33:44 1999 Tim Janik <timj@gtk.org>
* gtk/gtkvscale.c (gtk_vscale_pos_trough): take value_spacing into
......
Fri Jan 22 12:20:54 1999 Jeff Garzik <jgarzik@pobox.com>
* gtk/gtktooltips.c:
Fix recent change to match existing coding style.
Fri Jan 22 07:33:44 1999 Tim Janik <timj@gtk.org>
* gtk/gtkvscale.c (gtk_vscale_pos_trough): take value_spacing into
......
Fri Jan 22 12:20:54 1999 Jeff Garzik <jgarzik@pobox.com>
* gtk/gtktooltips.c:
Fix recent change to match existing coding style.
Fri Jan 22 07:33:44 1999 Tim Janik <timj@gtk.org>
* gtk/gtkvscale.c (gtk_vscale_pos_trough): take value_spacing into
......
Fri Jan 22 12:20:54 1999 Jeff Garzik <jgarzik@pobox.com>
* gtk/gtktooltips.c:
Fix recent change to match existing coding style.
Fri Jan 22 07:33:44 1999 Tim Janik <timj@gtk.org>
* gtk/gtkvscale.c (gtk_vscale_pos_trough): take value_spacing into
......
Fri Jan 22 12:20:54 1999 Jeff Garzik <jgarzik@pobox.com>
* gtk/gtktooltips.c:
Fix recent change to match existing coding style.
Fri Jan 22 07:33:44 1999 Tim Janik <timj@gtk.org>
* gtk/gtkvscale.c (gtk_vscale_pos_trough): take value_spacing into
......
Fri Jan 22 12:20:54 1999 Jeff Garzik <jgarzik@pobox.com>
* gtk/gtktooltips.c:
Fix recent change to match existing coding style.
Fri Jan 22 07:33:44 1999 Tim Janik <timj@gtk.org>
* gtk/gtkvscale.c (gtk_vscale_pos_trough): take value_spacing into
......
Fri Jan 22 12:20:54 1999 Jeff Garzik <jgarzik@pobox.com>
* gtk/gtktooltips.c:
Fix recent change to match existing coding style.
Fri Jan 22 07:33:44 1999 Tim Janik <timj@gtk.org>
* gtk/gtkvscale.c (gtk_vscale_pos_trough): take value_spacing into
......
......@@ -120,10 +120,11 @@ gtk_tooltips_destroy_data (GtkTooltipsData *tooltipsdata)
{
g_free (tooltipsdata->tip_text);
g_free (tooltipsdata->tip_private);
if (tooltipsdata->row) {
g_list_foreach (tooltipsdata->row, gtk_tooltips_free_string, 0);
g_list_free (tooltipsdata->row);
}
if (tooltipsdata->row)
{
g_list_foreach (tooltipsdata->row, gtk_tooltips_free_string, 0);
g_list_free (tooltipsdata->row);
}
gtk_signal_disconnect_by_data (GTK_OBJECT (tooltipsdata->widget),
(gpointer) tooltipsdata);
gtk_object_remove_data (GTK_OBJECT (tooltipsdata->widget), tooltips_data_key);
......@@ -201,10 +202,11 @@ gtk_tooltips_layout_text (GtkTooltips *tooltips, GtkTooltipsData *data)
if (!tooltips->tip_window)
gtk_tooltips_force_window (tooltips);
if (data->row) {
g_list_foreach (data->row, gtk_tooltips_free_string, 0);
g_list_free (data->row);
}
if (data->row)
{
g_list_foreach (data->row, gtk_tooltips_free_string, 0);
g_list_free (data->row);
}
data->row = 0;
data->font = tooltips->tip_window->style->font;
data->width = 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment