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