Florian Müllner
033277b68f
Define externally accessible contants with 'var' instead of 'const'
...
Just as we did with classes, define other constants that are (or
may be) used from other modules with 'var' to cut down on warnings.
https://bugzilla.gnome.org/show_bug.cgi?id=785084
2017-07-18 21:52:06 +02:00
Florian Müllner
2582d16ca7
Define classes with 'var' instead of 'const'
...
Any symbols (including class properties) that should be visible
outside the module it's defined in need to be defined as global.
For now gjs still allows the access for 'const', but get rid of
the warnings spill now by changing it.
https://bugzilla.gnome.org/show_bug.cgi?id=785084
2017-07-18 21:52:06 +02:00
Jasper St. Pierre
51485396c7
popupMenu: Remove our custom allocation code
...
With support for column-based layout gone, simply use a box layout
and allow items to use their own layouts without any "framework".
https://bugzilla.gnome.org/show_bug.cgi?id=705845
2013-08-13 06:50:25 -04:00
Jasper St. Pierre
1e942be639
Add a new code style/hacking guide
...
Written in Markdown style.
Somewhat based off of the gjs code style guide found at
http://git.gnome.org/browse/gjs/plain/doc/Style_Guide.txt .
https://bugzilla.gnome.org/show_bug.cgi?id=661241
2012-10-10 19:11:36 -03:00