2006-11-30 Emmanuele Bassi <ebassi@openedhand.com>
[clutter-gtk] / ChangeLog
1 2006-11-30  Emmanuele Bassi  <ebassi@openedhand.com>
2
3         * clutter-gtk/gtk-clutter.c:
4         (gtk_clutter_expose_event): Use the newly added
5         clutter_stage_swap_buffers() and fix the missing redraw
6         on expose bug.
7
8 2006-11-29  Emmanuele Bassi  <ebassi@openedhand.com>
9
10         * examples/gtk-clutter-test.c: Add a "quit" button.
11
12 2006-11-29  Emmanuele Bassi  <ebassi@openedhand.com>
13
14         * clutter-gtk/gtk-clutter.c:
15         (gtk_clutter_destroy): Destroy the ClutterStage instead
16         of unreffing it.
17
18         (gtk_clutter_size_allocate): Queue a redraw if the stage
19         is marked as visible.
20
21         (gtk_clutter_realize): Remove the forced realize: the
22         stage is already realized by default.
23
24         * examples/gtk-clutter-test.c: Use gtk_main_quit().
25
26 2006-11-29  Emmanuele Bassi  <ebassi@openedhand.com>
27
28         * clutter-gtk/gtk-clutter.h: Add constructor; clean up.
29
30         * clutter-gtk/gtk-clutter.c:
31         (gtk_clutter_destroy), (gtk_clutter_class_init): Move
32         the stage unref to the GtkObject::destroy method.
33
34         (gtk_clutter_size_allocate): Oblige to the size allocation
35         request from the container of the GtkClutter widget by
36         resizing the ClutterStage.
37
38         (gtk_clutter_size_request): Require the size of the stage.
39
40         (gtk_clutter_destroy), (gtk_clutter_size_request),
41         (gtk_clutter_realize): Do not use the G_TYPE_INSTANCE_GET_PRIVATE()
42         macro, which does a type check and a function call; use the
43         priv pointer we conveniently keep around.
44
45         * examples/gtk-clutter-test.c: Use the given constructor;
46         now window resizing works.  The stage doesn't get refreshed
47         immediately (resize the window), though, and there's still
48         the X error when we close the window.
49
50 2006-11-29  Emmanuele Bassi  <ebassi@openedhand.com>
51
52         * *: Initial import out of the main tree.