Comment out the mapping API

The test-text interactive test for ClutterText should not use
the mapping API, since ClutterText does not have it anymore.
This commit is contained in:
Emmanuele Bassi 2008-12-11 12:07:20 +00:00
parent eae98800d2
commit ec4c15f8e7

View File

@ -135,6 +135,7 @@ test_text_main (gint argc,
clutter_text_set_selectable (CLUTTER_TEXT (text), TRUE); clutter_text_set_selectable (CLUTTER_TEXT (text), TRUE);
clutter_text_set_cursor_color (CLUTTER_TEXT (text), &cursor_color); clutter_text_set_cursor_color (CLUTTER_TEXT (text), &cursor_color);
#if 0
clutter_text_add_action (CLUTTER_TEXT (text), "select-all", select_all); clutter_text_add_action (CLUTTER_TEXT (text), "select-all", select_all);
clutter_text_add_action (CLUTTER_TEXT (text), "copy", copy); clutter_text_add_action (CLUTTER_TEXT (text), "copy", copy);
clutter_text_add_action (CLUTTER_TEXT (text), "paste", paste); clutter_text_add_action (CLUTTER_TEXT (text), "paste", paste);
@ -154,6 +155,7 @@ test_text_main (gint argc,
CLUTTER_Page_Up, 0, "pageup"); CLUTTER_Page_Up, 0, "pageup");
clutter_text_add_mapping (CLUTTER_TEXT (text), clutter_text_add_mapping (CLUTTER_TEXT (text),
CLUTTER_Page_Down, 0, "pagedown"); CLUTTER_Page_Down, 0, "pagedown");
#endif
if (argv[1]) if (argv[1])
{ {