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.
This commit is contained in:
Jeff Garzik 1999-01-22 17:23:55 +00:00 committed by Jeff Garzik
parent 060c32e4e0
commit ad987142c1
8 changed files with 45 additions and 8 deletions

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -1,3 +1,8 @@
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

View File

@ -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;