diff options
Diffstat (limited to 'gtk/PlatGTK.cxx')
-rw-r--r-- | gtk/PlatGTK.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
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<Function*>( fn_address ); + return static_cast<Function>(fn_address); else return NULL; } else |