]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gnome/gnome_helpers.h
(John): translate dialog titles.
[lyx.git] / src / frontends / gnome / gnome_helpers.h
index a011eb3715ce5bba55192dffd0f59225877186b9..8f63fd1d63cbe3b209b600581e7c4ddff1497f8d 100644 (file)
@@ -1,7 +1,7 @@
 // -*- C++ -*-
 /* This file is part of
  * =================================================
- * 
+ *
  *          LyX, The Document Processor
  *          Copyright 1995-2000 The LyX Team.
  *
@@ -18,7 +18,7 @@
 #include <glade/glade-xml.h>
 #include <glib.h>
 
-// Glade Helper Function.  
+// Glade Helper Function.
 
 
 /** This function will get a widget from the glade XML representation and
@@ -26,7 +26,7 @@
  */
 template<class T>
 T* getWidgetPtr(GladeXML* xml, char const * name)
-{   
+{
        T* result = static_cast<T*>(Gtk::wrap_auto((GtkObject*)glade_xml_get_widget(xml, name)));
        if (result == NULL)
        {
@@ -49,7 +49,6 @@ string get_font_name(Gdk_Font const & font);
  *
  * This function was lifted from e-font.c from the gabber package.
  */
-extern "C"
 gchar * get_font_name(GdkFont const * font);
 
 #endif