From ad987142c1aa9277f9dfa8ec9d86d646ef3db298 Mon Sep 17 00:00:00 2001 From: Jeff Garzik Date: Fri, 22 Jan 1999 17:23:55 +0000 Subject: [PATCH] Fix recent change to match existing coding style. Fri Jan 22 12:20:54 1999 Jeff Garzik * gtk/gtktooltips.c: Fix recent change to match existing coding style. --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gtk/gtktooltips.c | 18 ++++++++++-------- 8 files changed, 45 insertions(+), 8 deletions(-) diff --git a/ChangeLog b/ChangeLog index 1bd91e06ee..fe8abbb784 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Fri Jan 22 12:20:54 1999 Jeff Garzik + + * gtk/gtktooltips.c: + Fix recent change to match existing coding style. + Fri Jan 22 07:33:44 1999 Tim Janik * gtk/gtkvscale.c (gtk_vscale_pos_trough): take value_spacing into diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 1bd91e06ee..fe8abbb784 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +Fri Jan 22 12:20:54 1999 Jeff Garzik + + * gtk/gtktooltips.c: + Fix recent change to match existing coding style. + Fri Jan 22 07:33:44 1999 Tim Janik * gtk/gtkvscale.c (gtk_vscale_pos_trough): take value_spacing into diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 1bd91e06ee..fe8abbb784 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +Fri Jan 22 12:20:54 1999 Jeff Garzik + + * gtk/gtktooltips.c: + Fix recent change to match existing coding style. + Fri Jan 22 07:33:44 1999 Tim Janik * gtk/gtkvscale.c (gtk_vscale_pos_trough): take value_spacing into diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 1bd91e06ee..fe8abbb784 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +Fri Jan 22 12:20:54 1999 Jeff Garzik + + * gtk/gtktooltips.c: + Fix recent change to match existing coding style. + Fri Jan 22 07:33:44 1999 Tim Janik * gtk/gtkvscale.c (gtk_vscale_pos_trough): take value_spacing into diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 1bd91e06ee..fe8abbb784 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +Fri Jan 22 12:20:54 1999 Jeff Garzik + + * gtk/gtktooltips.c: + Fix recent change to match existing coding style. + Fri Jan 22 07:33:44 1999 Tim Janik * gtk/gtkvscale.c (gtk_vscale_pos_trough): take value_spacing into diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 1bd91e06ee..fe8abbb784 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +Fri Jan 22 12:20:54 1999 Jeff Garzik + + * gtk/gtktooltips.c: + Fix recent change to match existing coding style. + Fri Jan 22 07:33:44 1999 Tim Janik * gtk/gtkvscale.c (gtk_vscale_pos_trough): take value_spacing into diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 1bd91e06ee..fe8abbb784 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +Fri Jan 22 12:20:54 1999 Jeff Garzik + + * gtk/gtktooltips.c: + Fix recent change to match existing coding style. + Fri Jan 22 07:33:44 1999 Tim Janik * gtk/gtkvscale.c (gtk_vscale_pos_trough): take value_spacing into 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;