2006-06-05 Matthew Allum <mallum@openedhand.com>

* clutter/clutter-event.h:
        Remove send_event field. Clutter shouldn't need it.

        * clutter/clutter-main.c: (clutter_dispatch_x_event):
        Dont malloc a new clutter event for each xevent.

        * clutter/clutter-stage.h:
        * clutter/clutter-stage.c: (clutter_stage_class_init),
        (clutter_stage_get_default):
        Dont ref stage from clutter_stage_get_default.

        * examples/super-oh.c: (main):
        Remove some now uneeded debug g_prints
This commit is contained in:
Matthew Allum
2006-06-05 21:44:13 +00:00
parent f6fe9e7412
commit 7806e409fb
6 changed files with 47 additions and 39 deletions

View File

@ -115,20 +115,9 @@ main (int argc, char *argv[])
clutter_element_set_size (stage, WINWIDTH, WINHEIGHT);
/* and its background color */
g_print ("before clutter_stage_set_color: (%3d, %3d, %3d, %3d)\n",
stage_color.red,
stage_color.green,
stage_color.blue,
stage_color.alpha);
clutter_stage_set_color (CLUTTER_STAGE (stage),
&stage_color);
clutter_stage_get_color (CLUTTER_STAGE (stage),
&stage_color);
g_print ("after clutter_stage_get_color: (%3d, %3d, %3d, %3d)\n",
stage_color.red,
stage_color.green,
stage_color.blue,
stage_color.alpha);
oh = g_new(SuperOH, 1);