Bug 383 - Does not compile withj libsigc++ 2.0
Status:
RESOLVED FIXED
Component:
GUI :: gtkmm
Version:
cvs
Hardware:
PC Linux
Importance:
P2 normal
Target Milestone:
---
Assignee:
Rob Caelers
URL:
Depends on:
Blocks:
Reported:
Apr 28 2004 11:45:54 UTC
by:
Pawel Kolodziej
Modified:
Apr 29 2004 11:49:18 UTC
WhoWhenWhatRemovedAdded
Pawel KolodziejApr 27 2004 00:46:48 UTCblocks352
Rob CaelersApr 29 2004 09:43:13 UTCsummaryDoes not compile withj libsigc++ 2.0Does not compile withj libsigc++ 2.0
resolutionDUPLICATE
statusNEWRESOLVED
Pawel KolodziejApr 29 2004 11:18:20 UTCresolutionDUPLICATE
statusRESOLVEDREOPENED
Rob CaelersApr 29 2004 11:49:18 UTCresolutionFIXED
statusREOPENEDRESOLVED
Description
Pawel Kolodziej  Apr 28 2004 11:45:55 UTC
Workrave nighbuild workrave-src-20040428.tar.gz does not compile with libsigc 2.0.
Compilation fails on NetworkPreferencePage.cc file (I have gtkmm ver. 2.4).
There is some very long error message about libstdc. I find out that workrave
was designed to workwith libsig v 1.2 and libsig 2.0 was rewritten from scratch
so workrave needs some efferror to work with v 2.0. I hope you will do that :).
Comment 1
Rob Caelers  Apr 29 2004 09:43:13 UTC
Fixed.

*** This bug has been marked as a duplicate of 274 ***
Comment 2
Pawel Kolodziej  Apr 29 2004 11:18:20 UTC
Bug #274 is about
"Comment out unclear and unfinished exercises"
This bug (#383) was about compilation errors and
incompatibille of workrave with libsigc v2.0.
Comment 3
Rob Caelers  Apr 29 2004 11:49:18 UTC
Sorry. Typo. bug #374 is about gtkmm2.4/gnomemm2.6 compile errors. (The sigc++
is implicit :-) It also mentions the compile error in NetworkPreferencePage.cc .
I have fixed this bug. Unfortunately, I can't access sourceforge CVS...

robc:~/src/workrave$ cvs -q update -Pd
Cannot access /cvsroot/workrave/CVSROOT
No such file or directory

The fix is simple. In
frontend/plugin/distribution/gtkmm/src/NetworkPreferencePage.cc. Line 360. Change 
  selection->selected_foreach(slot);
Into
  selection->selected_foreach_iter(slot);