linuxmint / cinnamon

A Linux desktop featuring a traditional layout, built from modern technology and introducing brand new innovative features.
GNU General Public License v2.0
4.58k stars 745 forks source link

environment: Use cjs smart GObject GTypeName computation #12453

Closed JosephMcc closed 3 weeks ago

JosephMcc commented 1 month ago

Make cjs to compute the GType name for registered GObject-derived classes using the file basename and the first directory name, so that we can avoid name clashing, and ensure that no xlet will break cinnamon by registering a name that is already used (by cinnamon or by any other extension).