mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
Move FlowLayout test into examples
There's nothing really test-worthy in the ClutterFlowLayout interactive test; it can be lifted pretty much as is, and placed into the examples.
This commit is contained in:
parent
b8f6ed184d
commit
46409b4043
@ -56,6 +56,14 @@
|
||||
* <graphic fileref="flow-layout.png" format="PNG"/>
|
||||
* </figure>
|
||||
*
|
||||
* <informalexample>
|
||||
* <programlisting>
|
||||
* <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" parse="text" href="../../../../examples/flow-layout.c">
|
||||
* <xi:fallback>FIXME: MISSING XINCLUDE CONTENT</xi:fallback>
|
||||
* </xi:include>
|
||||
* </programlisting>
|
||||
* </informalexample>
|
||||
*
|
||||
* #ClutterFlowLayout is available since Clutter 1.2
|
||||
*/
|
||||
|
||||
|
@ -7,6 +7,7 @@ all_examples = \
|
||||
constraints \
|
||||
drag-action \
|
||||
drop-action \
|
||||
flow-layout \
|
||||
threads
|
||||
|
||||
if PIXBUF_TESTS
|
||||
|
@ -67,8 +67,8 @@ static GOptionEntry entries[] = {
|
||||
{ NULL }
|
||||
};
|
||||
|
||||
G_MODULE_EXPORT int
|
||||
test_flow_layout_main (int argc, char *argv[])
|
||||
int
|
||||
main (int argc, char *argv[])
|
||||
{
|
||||
ClutterActor *stage, *box;
|
||||
ClutterLayoutManager *layout;
|
||||
@ -152,9 +152,3 @@ test_flow_layout_main (int argc, char *argv[])
|
||||
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
|
||||
G_MODULE_EXPORT const char *
|
||||
test_flow_layout_describe (void)
|
||||
{
|
||||
return "FlowLayout layout manager example";
|
||||
}
|
@ -38,7 +38,6 @@ UNIT_TESTS = \
|
||||
test-cairo-clock.c \
|
||||
test-cairo-flowers.c \
|
||||
test-cogl-vertex-buffer.c \
|
||||
test-flow-layout.c \
|
||||
test-box-layout.c \
|
||||
test-stage-sizing.c \
|
||||
test-scrolling.c \
|
||||
|
Loading…
Reference in New Issue
Block a user