X-Git-Url: https://git.lyx.org/gitweb/?a=blobdiff_plain;f=src%2Ffrontends%2Fgnome%2Fgnome_helpers.h;h=8f63fd1d63cbe3b209b600581e7c4ddff1497f8d;hb=3e39bef2c13125023f3b72532d90575bbe307335;hp=8c7094e0fe52cb25929634090171416502d7d1be;hpb=276c6e9ca120a27d7ee72a73baf87895e8b4214c;p=lyx.git diff --git a/src/frontends/gnome/gnome_helpers.h b/src/frontends/gnome/gnome_helpers.h index 8c7094e0fe..8f63fd1d63 100644 --- a/src/frontends/gnome/gnome_helpers.h +++ b/src/frontends/gnome/gnome_helpers.h @@ -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 #include -// Glade Helper Function. +// Glade Helper Function. /** This function will get a widget from the glade XML representation and @@ -26,7 +26,7 @@ */ template T* getWidgetPtr(GladeXML* xml, char const * name) -{ +{ T* result = static_cast(Gtk::wrap_auto((GtkObject*)glade_xml_get_widget(xml, name))); if (result == NULL) {