Skip to content
  • Florian Müllner's avatar
    clutter/keyval: Fix keyval_name() transfer annotation · dc8de3bf
    Florian Müllner authored and Marge Bot's avatar Marge Bot committed
    clutter_keyval_name() returns a pointer to a static array, not
    newly allocated memory. Add a transfer annotation to indicate
    that callers must not free the returned memory.
    
    While add it, make the return value const to stress further that
    callers shouldn't touch the returned memory.
    
    Part-of: <https://gitlab.gnome.org/GNOME/mutter/-/merge_requests/3386>
    dc8de3bf