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