From: fliep Date: Sun, 11 Oct 2009 15:55:19 +0000 (+0000) Subject: - Fix ignore properties X-Git-Tag: v0.9~327 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=2613327f29349b786f93050c107f3a233169c653;p=projects%2Fchimara%2Fchimara.git - Fix ignore properties - Fix warning on NULL cast to gidispatch_rock_t --- diff --git a/.svnignore b/.svnignore index 7766105..1daa17d 100644 --- a/.svnignore +++ b/.svnignore @@ -24,4 +24,6 @@ ylwrap chimara.anjuta .anjuta* .tm_project2.cache - +.cdtconfigure* +.cproject* +.project* diff --git a/libchimara/dispatch.c b/libchimara/dispatch.c index 895d2e7..51c89f3 100644 --- a/libchimara/dispatch.c +++ b/libchimara/dispatch.c @@ -107,7 +107,7 @@ gidispatch_set_object_registry(gidispatch_rock_t (*regi)(void *obj, glui32 objcl gidispatch_rock_t gidispatch_get_objrock(void *obj, glui32 objclass) { - g_return_val_if_fail(obj, NULL); + g_return_val_if_fail(obj, (gidispatch_rock_t)NULL); switch(objclass) {