Commit 09830176 authored by Manish Singh's avatar Manish Singh Committed by Manish Singh

gtk/gtkstyle.c (option_menu_get_props) use gtk_requisition_free() instead

2007-09-21  Manish Singh  <yosh@gimp.org>

        * gtk/gtkstyle.c (option_menu_get_props)
        * gtk/gtkoptionmenu.c (gtk_option_menu_get_props): use
        gtk_requisition_free() instead of g_free() for freeing
        requisitions.

svn path=/trunk/; revision=18855
parent b0cc27c3
2007-09-21 Manish Singh <yosh@gimp.org>
* gtk/gtkstyle.c (option_menu_get_props)
* gtk/gtkoptionmenu.c (gtk_option_menu_get_props): use
gtk_requisition_free() instead of g_free() for freeing
requisitions.
2007-09-21 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkprintoperation.c (print_pages_idle): Some more
......
......@@ -410,7 +410,7 @@ gtk_option_menu_get_props (GtkOptionMenu *option_menu,
else
props->indicator_spacing = default_props.indicator_spacing;
g_free (indicator_size);
gtk_requisition_free (indicator_size);
gtk_border_free (indicator_spacing);
}
......
......@@ -3245,7 +3245,7 @@ option_menu_get_props (GtkWidget *widget,
if (tmp_size)
{
*indicator_size = *tmp_size;
g_free (tmp_size);
gtk_requisition_free (tmp_size);
}
else
*indicator_size = default_option_indicator_size;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment