forked from AuroraMiddleware/gtk
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
This commit is contained in:
parent
b0cc27c30b
commit
0983017630
@ -1,3 +1,10 @@
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user