2007-07-31 Emmanuele Bassi <ebassi@openedhand.com>

* clutter/clutter-stage.[ch]: Fix clutter_stage_set_user_resizable()
	name, and add a getter for the property.

	* clutter/glx/clutter-stage-glx.c: Use the accessor, not
	g_object_get() to retrieve the value of the resizable property.
This commit is contained in:
Emmanuele Bassi
2007-07-31 17:01:52 +00:00
parent 6145261040
commit 4170d7cc43
5 changed files with 57 additions and 27 deletions

View File

@ -55,7 +55,7 @@ fix_window_size (ClutterStageGLX *stage_glx)
{
gboolean resize;
g_object_get (stage_glx, "user-resizeable", &resize, NULL);
resize = clutter_stage_get_user_resizable (CLUTTER_STAGE (stage_glx));
if (stage_glx->xwin != None && stage_glx->is_foreign_xwin == FALSE)
{