// -*- C++ -*-
/* This file is part of
* =================================================
- *
+ *
* LyX, The Document Processor
* Copyright 1995-2000 The LyX Team.
*
#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
*/
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)
{
*
* This function was lifted from e-font.c from the gabber package.
*/
-extern "C"
gchar * get_font_name(GdkFont const * font);
#endif