summaryrefslogtreecommitdiff
path: root/libmate-panel-applet/mate-panel-applet-gsettings.c
AgeCommit message (Collapse)AuthorFilesLines
2023-11-21Reduce scope of variablesColomban Wendling1-4/+4
Mostly found by cppcheck.
2023-11-21Optimize mate_panel_applet_settings_get_g*list()Colomban Wendling1-10/+10
- Build the list in reverse order, then reverse the result. This is useful because GS?List are list nodes, not containers of nodes, and thus don't contain a pointer to the list's end, meaning to append one has to walk the entire list to find the end each time. To avoid this we use the common idiom of prepending to the list (which is cheap, as it's adding a node before the given one), and then reversing the resulting list to get back the original order. - Avoid unnecessary memory copy by stealing the GStrv's members. We get the array as a copy, so we can simply steal the members and free the container array only, saving a copy for each member.
2023-05-17tell dconf-edit about relocatable schemas (#1355)Denis Gorodnichev1-0/+82
* tell dconf-edit about relocatable schemas * self fix for incorrect and duplicated records remove duplicated schemas for currect path remove incorrect schemas for current path * remove clock applet hack * expose mate_panel_applet_settings_new to introspection add "transfer full" annotation to make this method available throught introspection
2021-06-22update copyright to 2021raveit651-0/+1
2020-12-04mate-panel-applet: Boilerplaterbuj1-1/+1
2016-11-21libmate-panel-applet: add missing bracketsmonsta1-1/+2
2012-11-18fixed incorrect fsf addresses.Steve Zesch1-2/+2
2012-10-12fix mate-panel-applet-gsettings.cStefano Karapetsas1-14/+10
2012-10-11migrate libmate-panel-applet to gsettingsStefano Karapetsas1-0/+108