mirror of
https://github.com/brl/mutter.git
synced 2025-08-05 08:04:50 +00:00
Make compositor private a GObject than a void pointer
Requiring the compositor private object to be a GObject allows the return value of meta_window_get_compositor_private() to be used via gobject-introspection, since the type and memory management can be determined. This allows a reverse mapping from MetaWindow to MutterWindow. - Change meta_window_get/set_compositor_private to use GObject rather than void * - Adapt code in compositor-mutter.c to match.
This commit is contained in:
@@ -360,7 +360,7 @@ struct _MetaWindow
|
||||
MetaGroup *group;
|
||||
|
||||
#ifdef HAVE_COMPOSITE_EXTENSIONS
|
||||
void *compositor_private;
|
||||
GObject *compositor_private;
|
||||
#endif
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user