Skip to content
  • Florian Müllner's avatar
    GObject: Ensure generated GType names are valid · cacdb796
    Florian Müllner authored and Philip Chimento's avatar Philip Chimento committed
    JS classes accept names that aren't valid GType names. Usually this
    is something the programmer can take into account, however sometimes
    a parent class isn't under their control and can therefore change
    unexpectedly (gnome-shell extensions are a primary example).
    
    Handle this case gracefully by replacing any invalid characters with
    underscores.
    
    !229
    cacdb796