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:
Emmanuele Bassi 2012-05-02 12:14:45 +01:00
parent b8f6ed184d
commit 46409b4043
4 changed files with 11 additions and 9 deletions

View File

@ -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
*/

View File

@ -7,6 +7,7 @@ all_examples = \
constraints \
drag-action \
drop-action \
flow-layout \
threads
if PIXBUF_TESTS

View File

@ -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";
}

View File

@ -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 \