Fix more gcc compile errors

This commit is contained in:
Yevgen Muntyan 2016-06-02 01:05:27 -07:00
parent a227385a75
commit 0f5c160a4f
5 changed files with 6 additions and 6 deletions

View File

@ -589,7 +589,7 @@ void App::Private::sm_quit_requested (App::Private* self)
void App::Private::sm_quit (App::Private* self)
{
if (!self->app.quit())
self->do_quit (self->app);
self->do_quit ();
}
#endif // __WIN32__

View File

@ -1778,7 +1778,7 @@ static void
add_func__ (const char *static_elm_name,
ProcessElm func)
{
g_hash_table_insert (proc_elm_funcs__, (char*) static_elm_name, func);
g_hash_table_insert (proc_elm_funcs__, (char*) static_elm_name, (void*) func);
}
static void

View File

@ -213,7 +213,7 @@ template<typename T>
class cpp_vararg_value_fixer<objp<T>>
{
public:
static T* apply (objp<T> val) { return val.release (); }
static T* apply (const objp<T>& val) { return val.release (); }
};

View File

@ -1,5 +1,5 @@
/*
* moocpp/gobjptr.h
* moocpp/gobjrawptr.h
*
* Copyright (C) 2004-2016 by Yevgen Muntyan <emuntyan@users.sourceforge.net>
*

View File

@ -1,5 +1,5 @@
/*
* moocpp/gobjptr.h
* moocpp/gobjref.h
*
* Copyright (C) 2004-2016 by Yevgen Muntyan <emuntyan@users.sourceforge.net>
*
@ -103,7 +103,7 @@ protected:
public: \
gobj_ref(object_type& gobj) \
{ \
_set_gobj(&gobj); \
super::_set_gobj(&gobj); \
} \
\
object_type* gobj() const \