diff options
author | Emmanuele Bassi <ebassi@linux.intel.com> | 2009-06-22 15:41:54 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@linux.intel.com> | 2009-06-22 15:41:54 +0100 |
commit | 063502210a5fa1af4005268b2deb91ed099317ed (patch) | |
tree | d47f54cafc9dc98197d11d47ca2cea2258ef6f50 /examples | |
parent | 51d28c39cc994104cad5c14cb5298a22ee6e195e (diff) | |
download | clutter-gtk-063502210a5fa1af4005268b2deb91ed099317ed.tar.gz |
[viewport] Implement Zoomable
Make GtkClutterViewport implement the Zoomable interface. Currently
the default Z adjustment only allows zoom out because I'm lazy.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/gtk-clutter-viewport.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/gtk-clutter-viewport.c b/examples/gtk-clutter-viewport.c index f653424..3c67178 100644 --- a/examples/gtk-clutter-viewport.c +++ b/examples/gtk-clutter-viewport.c @@ -52,7 +52,7 @@ main (int argc, char *argv[]) stage = gtk_clutter_embed_get_stage (GTK_CLUTTER_EMBED (embed)); clutter_stage_set_color (CLUTTER_STAGE (stage), &stage_color); - viewport = gtk_clutter_viewport_new (NULL, NULL); + viewport = gtk_clutter_viewport_new (NULL, NULL, NULL); clutter_actor_set_size (viewport, 320, 240); clutter_container_add_actor (CLUTTER_CONTAINER (stage), viewport); |