diff options
author | Michael Natterer <mitch@imendio.com> | 2007-01-03 17:31:57 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2007-01-03 17:31:57 +0000 |
commit | 559649c6ff3fec0b115bcd4ec1154141cf0a1f55 (patch) | |
tree | 44b6fb019adec1780c15d99ff6a0827088e9edad /gtk | |
parent | 014b276774facd8540b2514e5a77e25062e98387 (diff) | |
download | gtk+-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')
-rw-r--r-- | gtk/gtkoptionmenu.c | 2 | ||||
-rw-r--r-- | gtk/gtkstyle.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/gtk/gtkoptionmenu.c b/gtk/gtkoptionmenu.c index 69e10495c4..b1ccf8a2e4 100644 --- a/gtk/gtkoptionmenu.c +++ b/gtk/gtkoptionmenu.c @@ -411,7 +411,7 @@ gtk_option_menu_get_props (GtkOptionMenu *option_menu, props->indicator_spacing = default_props.indicator_spacing; g_free (indicator_size); - g_free (indicator_spacing); + gtk_border_free (indicator_spacing); } static void diff --git a/gtk/gtkstyle.c b/gtk/gtkstyle.c index ed35c6c07f..44b7d6eff7 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; |