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 588888 - Properties example does not compile with properties disabled
Properties example does not compile with properties disabled
Status: RESOLVED FIXED
Product: glibmm
Classification: Bindings
Component: examples
2.20.x
Other Linux
: Normal normal
: ---
Assigned To: gtkmm-forge
gtkmm-forge
Depends on:
Blocks:
 
 
Reported: 2009-07-17 15:38 UTC by David King
Modified: 2009-07-17 15:56 UTC
See Also:
GNOME target: ---
GNOME version: 2.27/2.28


Attachments
patch to ifdef out example code (1.81 KB, patch)
2009-07-17 15:38 UTC, David King
none Details | Review

Description David King 2009-07-17 15:38:06 UTC
The properties example found in examples/properties/properties_example.cc does not build if properties are disabled (on Maemo, for example). As the example doesn't really make sense with properties disabled, I ifdefd out everything but the main function.
Comment 1 David King 2009-07-17 15:38:51 UTC
Created attachment 138604 [details] [review]
patch to ifdef out example code
Comment 2 Murray Cumming 2009-07-17 15:56:21 UTC
Committed and pushed to the glibmm-2-20 and master branches.