From 907b2c6900b3555a526a04cdc1bcb5a67321bd6a Mon Sep 17 00:00:00 2001 From: Philip Chimento Date: Sun, 11 Oct 2009 15:55:19 +0000 Subject: [PATCH] - Fix ignore properties - Fix warning on NULL cast to gidispatch_rock_t git-svn-id: http://lassie.dyndns-server.com/svn/gargoyle-gtk@138 ddfedd41-794f-dd11-ae45-00112f111e67 --- .svnignore | 4 +++- libchimara/dispatch.c | 2 +- 2 files changed, 4 insertions(+), 2 deletions(-) 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) { -- 2.30.2