From 5f4928ccf5dabaa8e9df1061f7a8cc4ff1b97603 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Fri, 18 Apr 2003 10:26:34 +0000 Subject: Changed Function* to simpler Function. --- gtk/PlatGTK.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk') diff --git a/gtk/PlatGTK.cxx b/gtk/PlatGTK.cxx index d0778c707..b3f5247e1 100644 --- a/gtk/PlatGTK.cxx +++ b/gtk/PlatGTK.cxx @@ -1933,12 +1933,12 @@ public: } // Use g_module_symbol to get a pointer to the relevant function. - virtual Function *FindFunction(const char *name) { + virtual Function FindFunction(const char *name) { if (m != NULL) { gpointer fn_address = NULL; gboolean status = g_module_symbol(m, name, &fn_address); if (status) - return static_cast( fn_address ); + return static_cast(fn_address); else return NULL; } else -- cgit v1.2.3