summaryrefslogtreecommitdiff
path: root/gtk/gtkstyle.c
diff options
context:
space:
mode:
authorMichael Natterer <mitch@imendio.com>2007-01-03 17:31:57 +0000
committerMichael Natterer <mitch@src.gnome.org>2007-01-03 17:31:57 +0000
commit559649c6ff3fec0b115bcd4ec1154141cf0a1f55 (patch)
tree44b6fb019adec1780c15d99ff6a0827088e9edad /gtk/gtkstyle.c
parent014b276774facd8540b2514e5a77e25062e98387 (diff)
downloadgdk-pixbuf-559649c6ff3fec0b115bcd4ec1154141cf0a1f55.tar.gz
gtk/gtkstyle.c (option_menu_get_props) Use gtk_border_free when freeing
2007-01-03 Michael Natterer <mitch@imendio.com> * gtk/gtkstyle.c (option_menu_get_props) * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): Use gtk_border_free when freeing borders. svn path=/trunk/; revision=17032
Diffstat (limited to 'gtk/gtkstyle.c')
-rw-r--r--gtk/gtkstyle.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c
index ed35c6c07..44b7d6eff 100644
--- a/gtk/gtkstyle.c
+++ b/gtk/gtkstyle.c
@@ -3253,7 +3253,7 @@ option_menu_get_props (GtkWidget *widget,
if (tmp_spacing)
{
*indicator_spacing = *tmp_spacing;
- g_free (tmp_spacing);
+ gtk_border_free (tmp_spacing);
}
else
*indicator_spacing = default_option_indicator_spacing;