mirror of
https://github.com/brl/mutter.git
synced 2024-11-22 16:10:41 -05:00
shaped-texture: Get type from klass
We don't need to get the type from the type casted class pointer, just get it from the one from the function argument. Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3443>
This commit is contained in:
parent
7152779ae0
commit
68412cedac
@ -122,7 +122,7 @@ meta_shaped_texture_class_init (MetaShapedTextureClass *klass)
|
||||
gobject_class->dispose = meta_shaped_texture_dispose;
|
||||
|
||||
signals[SIZE_CHANGED] = g_signal_new ("size-changed",
|
||||
G_TYPE_FROM_CLASS (gobject_class),
|
||||
G_TYPE_FROM_CLASS (klass),
|
||||
G_SIGNAL_RUN_LAST,
|
||||
0,
|
||||
NULL, NULL, NULL,
|
||||
|
Loading…
Reference in New Issue
Block a user