]> git.lyx.org Git - features.git/commitdiff
Compilation fix for old and crappy versions of the xforms library.
authorAngus Leeming <leeming@lyx.org>
Fri, 16 Aug 2002 17:33:23 +0000 (17:33 +0000)
committerAngus Leeming <leeming@lyx.org>
Fri, 16 Aug 2002 17:33:23 +0000 (17:33 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5017 a592a061-630c-0410-9148-cb99ea01b6c8

src/frontends/xforms/ChangeLog
src/frontends/xforms/Tooltips.C

index 657de55406ff5169d5c9187589e16dc8be0c061e..9b97b23de0fd064c724c13652f0d93c427e63975 100644 (file)
@@ -1,3 +1,8 @@
+2002-08-16  Angus Leeming  <leeming@lyx.org>
+
+       * Tooltips.C (c-tor): don't forget the "#ifdef crap xforms" code next
+       time, old boy.
+
 2002-08-16  Michael Schmitt <Michael.Schmitt@teststep.org>
 
        * FormRef.C (update): Synchronise the buffer choice and the list of
index 3627883b7ae99eda08d9a1ef3e3b0f9dc396480f..f2f9a568d279f4d4f33cfbfb050aa85497458fcf 100644 (file)
@@ -109,14 +109,9 @@ static void C_TooltipTimerCB(FL_OBJECT * ob, long data)
 }
 
 
-Tooltips::Tooltips(Dialogs & d)
+Tooltips::Tooltips()
        : tooltip_timer_(0)
 {
-       static bool first = true;
-       if (first) {
-               first = false;
-               d.toggleTooltips.connect(boost::bind(&Tooltips::toggleEnabled));
-       }
        toggled.connect(boost::bind(&Tooltips::set, this));
 }