From 1bb756581bff2396b0d092668ce2c61f33667d13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lars=20Gullik=20Bj=C3=B8nnes?= Date: Wed, 3 Jul 2002 11:01:29 +0000 Subject: [PATCH] add Dialogs to constructor arg git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4521 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/frontends/xforms/ChangeLog | 4 ++++ src/frontends/xforms/Tooltips.C | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/frontends/xforms/ChangeLog b/src/frontends/xforms/ChangeLog index 119d8d9a60..c7b06cdcde 100644 --- a/src/frontends/xforms/ChangeLog +++ b/src/frontends/xforms/ChangeLog @@ -1,3 +1,7 @@ +2002-07-03 Lars Gullik Bjønnes + + * Tooltips.C (Tooltips): add Dialogs to constructor arg. + 2002-07-01 Angus Leeming * forma/Makefile.am: keep "make clean" consistent with Kayvan's fix. diff --git a/src/frontends/xforms/Tooltips.C b/src/frontends/xforms/Tooltips.C index 7974ac72f3..cf639e598e 100644 --- a/src/frontends/xforms/Tooltips.C +++ b/src/frontends/xforms/Tooltips.C @@ -115,13 +115,13 @@ static void C_TooltipTimerCB(FL_OBJECT * ob, long data) } -Tooltips::Tooltips() +Tooltips::Tooltips(Dialogs & d) : tooltip_timer_(0) { static bool first = true; if (first) { first = false; - Dialogs::toggleTooltips.connect(boost::bind(&Tooltips::toggleEnabled)); + d.toggleTooltips.connect(boost::bind(&Tooltips::toggleEnabled)); } toggled.connect(boost::bind(&Tooltips::set, this)); }