]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gnome/gnomeBC.C
ws cleanup
[lyx.git] / src / frontends / gnome / gnomeBC.C
index 5d057bfaa8e0f9e4f835311e6591853400749701..810e8a9d673aff7656c181748c605b3b068192e0 100644 (file)
@@ -5,6 +5,7 @@
 #endif
 
 #include "gnomeBC.h"
+#include "ButtonController.tmpl"
 #include "gtk--/widget.h"
 #include "gtk--/button.h"
 
@@ -20,7 +21,7 @@ void gnomeBC::setWidgetEnabled(Gtk::Widget * obj, bool enabled)
 }
 
 
-void gnomeBC::setButtonEnabled(Gtk::Button * btn, bool enabled) 
+void gnomeBC::setButtonEnabled(Gtk::Button * btn, bool enabled)
 {
        if (btn)
                btn->set_sensitive(enabled);
@@ -29,7 +30,9 @@ void gnomeBC::setButtonEnabled(Gtk::Button * btn, bool enabled)
 
 void gnomeBC::setButtonLabel(Gtk::Button * obj, string const & label)
 {
+#ifdef WITH_WARNINGS
 #warning Implement me! (be 20010329)
+#endif
        // There is no methods set_text!
        //obj->set_text(label);
 }