]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gnome/gnomeBC.C
gtkmm-2 upgrade. Still some small bugs to iron out, but mostly functional
[lyx.git] / src / frontends / gnome / gnomeBC.C
index a4e7d34405fcecec81dd59e338cd9745facbd9eb..5fe5cc62b5e11cb746467a0c3bcd3f3eab01733e 100644 (file)
@@ -6,8 +6,9 @@
 
 #include "gnomeBC.h"
 #include "ButtonController.tmpl"
-#include "gtk--/widget.h"
-#include "gtk--/button.h"
+
+#include <gtkmm/widget.h>
+#include <gtkmm/button.h>
 
 gnomeBC::gnomeBC(string const & cancel, string const & close)
        : GuiBC<Gtk::Button, Gtk::Widget>(cancel, close)
@@ -21,7 +22,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,10 +30,4 @@ 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);
-}
+{}