summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-12-24 09:54:56 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-12-24 09:54:56 +0000
commitff3bfe96eadb95a421e4acecc87ecee27a3ca24f (patch)
tree3c5c57b01a241915562f4609ddedf41448979a1a
parenta9d25d6235651d3c64741a979c4241f2f10763ba (diff)
downloadgtk+-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--ChangeLog5
-rw-r--r--gtk/gtkentry.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 17388abee1..0cf939f0d9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -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;
}