Thread
:
[Announce] OS2008 Statusbar Clock
View Single Post
fiferboy
2008-02-20 , 20:34
Posts: 475 | Thanked: 771 times | Joined on Dec 2007 @ Hamilton, Ontario, Canada
#
77
I have uploaded a new version (with a big version bump) to my garage page.
Essentially the only added feature is "stacked" mode which is selectable through the configuration dialog. The rest of the changes are cleaning up the code a tonne - getting rid of duplicate functions between the plugins by using dbus to communicate.
Using dbus is a much smarter way to go compared to my old method and eliminates quite a bit of CPU usages. Essentially the hour plugin is called to be updated once an hour instead of 3600 times an hour. Or course, it also gets called any time you change a configuration option.
As for the memory leak, I found a very unsmart typo (gchar* hours[4] instead of gchar hours[4]) that I think may affect memory. If anyone has a good tutorial or rule of thumb as to when I need to free memory manually versus when the program will do it for me, I would appreciate it.
I will update the first post in this thread with the new release details.
Quote & Reply
|
The Following 4 Users Say Thank You to fiferboy For This Useful Post:
Betty Woo
,
dubwise
,
Underscore
,
wroland
fiferboy
View Public Profile
Send a private message to fiferboy
Find all posts by fiferboy