After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 591798 - Cleanup macro magic in plugin.h
Cleanup macro magic in plugin.h
Status: RESOLVED FIXED
Product: gnome-settings-daemon
Classification: Core
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gnome-settings-daemon-maint
gnome-settings-daemon-maint
Depends on:
Blocks:
 
 
Reported: 2009-08-14 12:41 UTC by Paolo Borelli
Modified: 2010-10-13 14:02 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
patch (16.93 KB, patch)
2009-08-14 12:42 UTC, Paolo Borelli
committed Details | Review

Description Paolo Borelli 2009-08-14 12:41:33 UTC
gsd-plugin.h contains a lot of macro voodoo coming from the original gedit code.

gtk 2.14 introduced some macro that can be used to simplify all that cruft. The attached patch shows how. Compile tested but not runtime tested (I do not have a full gnome session built)
Comment 1 Paolo Borelli 2009-08-14 12:42:21 UTC
Created attachment 140768 [details] [review]
patch