cursor-sprite: Don't NULL check realize_texture() vfunc
All non-abstract MetaCursorSprite type implementations implement this function, so no need to NULL check it. https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/1391
This commit is contained in:
parent
b319add04b
commit
e1f25b7244
@ -189,10 +189,7 @@ meta_cursor_sprite_prepare_at (MetaCursorSprite *sprite,
|
|||||||
void
|
void
|
||||||
meta_cursor_sprite_realize_texture (MetaCursorSprite *sprite)
|
meta_cursor_sprite_realize_texture (MetaCursorSprite *sprite)
|
||||||
{
|
{
|
||||||
MetaCursorSpriteClass *klass = META_CURSOR_SPRITE_GET_CLASS (sprite);
|
META_CURSOR_SPRITE_GET_CLASS (sprite)->realize_texture (sprite);
|
||||||
|
|
||||||
if (klass->realize_texture)
|
|
||||||
klass->realize_texture (sprite);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
|
Loading…
x
Reference in New Issue
Block a user