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