$OpenBSD: patch-src_GladeHelper_hh,v 1.1 2004/01/05 02:04:54 espie Exp $ --- src/GladeHelper.hh.orig 2004-01-05 02:50:43.000000000 +0100 +++ src/GladeHelper.hh 2004-01-05 02:53:26.000000000 +0100 @@ -24,13 +24,14 @@ #include #include #include +#include template T* getWidgetPtr(GladeXML* g, const char* name) { T* result = static_cast(Gtk::wrap_auto((GtkObject*)glade_xml_get_widget(g, name))); if (result == NULL) { - cerr << "** ERROR **: unable to load widget: " << name << endl; + std::cerr << "** ERROR **: unable to load widget: " << name << std::endl; g_assert(result != NULL); } return result; @@ -41,7 +42,7 @@ template T* getWidgetPtr_GTK(Gl T* result = (T*)glade_xml_get_widget(g, name); if (result == NULL) { - cerr << "** ERROR **: unable to load widget: " << name << endl; + std::cerr << "** ERROR **: unable to load widget: " << name << std::endl; g_assert(result != NULL); } return result;