]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gnome/pixbutton.h
A lean, clean and working start to the new, improved gnome frontend.
[lyx.git] / src / frontends / gnome / pixbutton.h
index 3afdf9371a2c86a13727499f488b6e2a57039cd5..bbec75cf5753dc1dc606e6a2ee045babc5625838 100644 (file)
@@ -1,9 +1,9 @@
 // -*- C++ -*-
 /* This file is part of
- * ====================================================== 
- * 
+ * ======================================================
+ *
  *           LyX, The Document Processor
- *       
+ *
  *          Copyright 2000 The LyX Team.
  *
  * ====================================================== */
@@ -29,7 +29,7 @@ namespace Gnome
     {
       Gtk::Box * b = manage( new Gtk::HBox() );
       l = manage( new Gtk::Label(label) );
-      Gnome::Pixmap * p = Gtk::wrap( GNOME_PIXMAP( gnome_stock_pixmap_widget(NULL, pixname.c_str()) ) );
+      Gnome::Pixmap * p = Gtk::wrap( GNOME_PIXMAP( gnome_stock_pixmap_widget(0, pixname.c_str()) ) );
 
       b->set_spacing(3);
       b->children().push_back(Gtk::Box_Helpers::Element(*p, false, false));
@@ -38,7 +38,7 @@ namespace Gnome
       add(*b);
 
       accelkey_ = l->parse_uline(label);
-      
+
       l->show();
       p->show();
       b->show();
@@ -55,4 +55,3 @@ namespace Gnome
 }
 
 #endif
-