diff options
author | Behdad Esfahbod <behdad@gnome.org> | 2006-12-24 09:54:56 +0000 |
---|---|---|
committer | Behdad Esfahbod <behdad@src.gnome.org> | 2006-12-24 09:54:56 +0000 |
commit | ff3bfe96eadb95a421e4acecc87ecee27a3ca24f (patch) | |
tree | 3c5c57b01a241915562f4609ddedf41448979a1a | |
parent | a9d25d6235651d3c64741a979c4241f2f10763ba (diff) | |
download | gtk+-ff3bfe96eadb95a421e4acecc87ecee27a3ca24f.tar.gz |
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.
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | gtk/gtkentry.c | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -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 diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index c5ade49565..49bcb3b9bf 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -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; } |