Use gtk_border_free when freeing border.

2006-12-24  Behdad Esfahbod  <behdad@gnome.org>

        * gtk/gtkentry.c (_gtk_entry_effective_inner_border):
        Use gtk_border_free when freeing border.
This commit is contained in:
Behdad Esfahbod 2006-12-24 09:54:56 +00:00 committed by Behdad Esfahbod
parent a9d25d6235
commit ff3bfe96ea
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2006-12-24 Behdad Esfahbod <behdad@gnome.org>
* gtk/gtkentry.c (_gtk_entry_effective_inner_border):
Use gtk_border_free when freeing border.
2006-12-24 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentry.c (gtk_entry_button_press): When

View File

@ -1447,7 +1447,7 @@ _gtk_entry_effective_inner_border (GtkEntry *entry,
if (tmp_border)
{
*border = *tmp_border;
g_free (tmp_border);
gtk_border_free (tmp_border);
return;
}