Angus Leeming wrote:
> Rob Lahaye wrote:
> 
>>No I don't, because I have no idea what I'm doing.
>>Well, if you insist:
>>
>>ChangeLog:
>>Add a "()" inbetween "params" and ".getLyXTextClass()".
>>
>>Sorry, but that's all I can say; "why and how this has become an error
>>and such-and-such is the fix" should better go in the ChangeLog.
>>Who knows this?
> 
> 
> Thanks, Rob. It's hard keeping the code free from errors when I can't compile 
> it ;-)

Angus,
You applied the patch, didn't you?
You've change only one line, but you forgot two more instances:


Index: src/frontends/gtk/GToolbar.C
===================================================================
RCS file: /cvs/lyx/lyx-devel/src/frontends/gtk/GToolbar.C,v
retrieving revision 1.5
diff -u -r1.5 GToolbar.C
--- src/frontends/gtk/GToolbar.C 2003/09/10 10:09:41     1.5
+++ src/frontends/gtk/GToolbar.C 2003/09/10 12:13:11
@@ -224,7 +224,7 @@
 void GToolbar::setLayout(string const & layout)
 {
         LyXTextClass const & tc =
-                view_->buffer()->params.getLyXTextClass();
+                view_->buffer()->params().getLyXTextClass();
         internal_ = true;
         combo_.get_entry()->set_text(tc[layout]->name());
         internal_ = false;
@@ -234,7 +234,7 @@
 void GToolbar::updateLayoutList()
 {
         LyXTextClass const & tc =
-                view_->buffer()->params.getLyXTextClass();
+                view_->buffer()->params().getLyXTextClass();
         LyXTextClass::const_iterator end = tc.end();
         std::vector<Glib::ustring> strings;
         for (LyXTextClass::const_iterator cit = tc.begin();



Rob.

Reply via email to