- Fix ignore properties
authorPhilip Chimento <philip.chimento@gmail.com>
Sun, 11 Oct 2009 15:55:19 +0000 (15:55 +0000)
committerPhilip Chimento <philip.chimento@gmail.com>
Sun, 11 Oct 2009 15:55:19 +0000 (15:55 +0000)
- 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
libchimara/dispatch.c

index 776610560139aacd4241afe4b1730b579df494b6..1daa17d13ae3d59797988af6fa74434565b90e44 100644 (file)
@@ -24,4 +24,6 @@ ylwrap
 chimara.anjuta
 .anjuta*
 .tm_project2.cache
-
+.cdtconfigure*
+.cproject*
+.project*
index 895d2e7e4c249dd16e1e6e36489591856f4e84c0..51c89f3afa5654b2c75183c5d54040c1c596fd5e 100644 (file)
@@ -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) 
        {