Hi, it seems that this small patch is needed to compile gtk
frontend with gcc 4.1 (on fedora core 5).

--Ling
diff -ur lyx-1.4.0/src/frontends/gtk/GCharacter.h 
lyx-1.4.0/src/frontends/gtk/GCharacter.h
--- lyx-1.4.0/src/frontends/gtk/GCharacter.h    2004-10-10 08:10:37.000000000 
-0700
+++ lyx-1.4.0/src/frontends/gtk/GCharacter.h    2006-03-22 09:08:27.000000000 
-0800
@@ -65,7 +65,7 @@
 
        Gtk::CheckButton * toggleallcheck_;
 
-       void GCharacter::onChange();
+       void onChange();
 };
 
 } // namespace frontend
diff -ur lyx-1.4.0/src/frontends/gtk/GtkLengthEntry.h 
lyx-1.4.0/src/frontends/gtk/GtkLengthEntry.h
--- lyx-1.4.0/src/frontends/gtk/GtkLengthEntry.h        2006-02-06 
14:51:24.000000000 -0800
+++ lyx-1.4.0/src/frontends/gtk/GtkLengthEntry.h        2006-03-22 
09:03:38.000000000 -0800
@@ -27,7 +27,7 @@
 
 class GtkLengthEntry : public Gtk::HBox {
 public:
-       GtkLengthEntry::GtkLengthEntry(BaseObjectType* cobject, const 
Glib::RefPtr<Gnome::Glade::Xml>& refGlade);
+       GtkLengthEntry(BaseObjectType* cobject, const 
Glib::RefPtr<Gnome::Glade::Xml>& refGlade);
 
        void set_length(LyXLength const & length);
        void set_length(std::string const & length);

Reply via email to