Fix more gcc compile errors
This commit is contained in:
parent
a227385a75
commit
0f5c160a4f
@ -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__
|
||||
|
@ -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
|
||||
|
@ -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 (); }
|
||||
};
|
||||
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
/*
|
||||
* moocpp/gobjptr.h
|
||||
* moocpp/gobjrawptr.h
|
||||
*
|
||||
* Copyright (C) 2004-2016 by Yevgen Muntyan <emuntyan@users.sourceforge.net>
|
||||
*
|
||||
|
@ -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 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user