diff options
author | Jeff Garzik <jgarzik@pobox.com> | 1999-01-22 17:23:55 +0000 |
---|---|---|
committer | Jeff Garzik <jgarzik@src.gnome.org> | 1999-01-22 17:23:55 +0000 |
commit | ad987142c1aa9277f9dfa8ec9d86d646ef3db298 (patch) | |
tree | 5f4720a26d8573506876a9b7babcaf0247b3ee49 /gtk/gtktooltips.c | |
parent | 060c32e4e04f06d6fcd36d3dece575b96e6cca45 (diff) | |
download | gtk+-ad987142c1aa9277f9dfa8ec9d86d646ef3db298.tar.gz |
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.
Diffstat (limited to 'gtk/gtktooltips.c')
-rw-r--r-- | gtk/gtktooltips.c | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/gtk/gtktooltips.c b/gtk/gtktooltips.c index d7ae69eabd..8f48b2b1f6 100644 --- a/gtk/gtktooltips.c +++ b/gtk/gtktooltips.c @@ -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; |