mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
2007-11-28 Emmanuele Bassi <ebassi@openedhand.com>
Remove the layout containers: they will be moved to a high-level library. * clutter/clutter.h: * clutter/Makefile.am: Remove layout and boxes from the build. * clutter/clutter-layout.[ch]: Remove the ClutterLayout interface. * clutter/clutter-box.[ch]: * clutter/clutter-hbox.[ch]: * clutter/clutter-vbox.[ch]: Remove ClutterBox and its subclasses. * clutter/clutter-label.c: Remove ClutterLayout implementation * clutter/clutter-script-private.h: * clutter/clutter-script-parser.c: * clutter/clutter-script.c: (clutter_script_parse_node): Remove special parsing for ClutterMargin and ClutterPadding. * clutter/clutter-types.h: Remove ClutterPadding and ClutterMargin. * tests/Makefile.am: * tests/test-boxes.c: Remove the boxes test case.
This commit is contained in:
@ -761,26 +761,6 @@ clutter_script_parse_node (ClutterScript *script,
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
else if (G_VALUE_HOLDS (value, CLUTTER_TYPE_PADDING))
|
||||
{
|
||||
ClutterPadding padding = { 0, };
|
||||
|
||||
if (clutter_script_parse_padding (script, node, &padding))
|
||||
{
|
||||
g_value_set_boxed (value, &padding);
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
else if (G_VALUE_HOLDS (value, CLUTTER_TYPE_MARGIN))
|
||||
{
|
||||
ClutterMargin margin = { 0, };
|
||||
|
||||
if (clutter_script_parse_margin (script, node, &margin))
|
||||
{
|
||||
g_value_set_boxed (value, &margin);
|
||||
return TRUE;
|
||||
}
|
||||
}
|
||||
else if (G_VALUE_HOLDS (value, CLUTTER_TYPE_GEOMETRY))
|
||||
{
|
||||
ClutterGeometry geom = { 0, };
|
||||
|
Reference in New Issue
Block a user