gtk--:Still problems with connecting 2 signals
- From: Oliver Freyd <freyd uni-muenster de>
- To: gtk-list redhat com
- Subject: gtk--:Still problems with connecting 2 signals
- Date: Sun, 19 Apr 1998 12:34:45 +0200 (MET DST)
Now I've upgraded to gtk---0.8.2, but still the
connect(b1.button_press_event,cbutton.button_press_event);
or
connect(drw_area.motion_notify_event,hruler.motion_notify_event);
make problems.
Now gcc says:
g++ -c -g -o colorbutton.o colorbutton.cc
/usr/local/include/gtk--sig.h: In method `int
Concretegtkslot1<int,Signal_proxy1<int,Gtk_Widget,_GdkEventButton *>
&,_GdkEventButton *>::call(struct _GdkEventButton *)':
/usr/local/include/gtk--sig.h:1099: invalid use of void expression
I've looked into that file, but there is a large macro expansion,
you might now better what it really does...
Actually, I had problems compiling 0.8.2 (on gcc 2.7.2),
in adjustment.cc it didn't like a const in
gfoat get_value() const;
I deleted that (also in the .h file), then it compiled fine.
No idea what it was good for...
happy coding...
Oliver
---------------------------------
E-Mail: Oliver Freyd <freyd@uni-muenster.de>
Date: 19-Apr-98
Time: 12:34:46
This message was sent by XFMail
----------------------------------
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]