libeek: support resizing with EekGtkKeyboard

This commit is contained in:
Daiki Ueno
2010-06-18 19:37:36 +09:00
parent 542e9037ed
commit 5b51134643
2 changed files with 58 additions and 13 deletions

View File

@ -235,7 +235,7 @@ on_clutter_stage_resize (GObject *object,
g_value_init (&value, G_TYPE_DOUBLE);
scale = width > height ? width / bounds.width : width / bounds.height;
scale = width > height ? width / bounds.width : height / bounds.height;
g_value_set_double (&value, scale);
g_object_set_property (G_OBJECT (stage),