remove warnings
authorCampbell Barton <ideasman42@gmail.com>
Sat, 13 Jun 2009 01:30:47 +0000 (01:30 +0000)
committerCampbell Barton <ideasman42@gmail.com>
Sat, 13 Jun 2009 01:30:47 +0000 (01:30 +0000)
source/blender/makesrna/intern/rna_sequence.c

index 754a3b44182f2d1d771c08b78870ee9a8696e4a1..b21e08fcd1af87bf59c63bc1599b0d1a8000fdf0 100644 (file)
@@ -36,6 +36,8 @@
 
 #include "BKE_sequence.h"
 
+#include "MEM_guardedalloc.h"
+
 #ifdef RNA_RUNTIME
 
 static int rna_SequenceEditor_name_length(PointerRNA *ptr)
@@ -99,7 +101,7 @@ static void rna_SequenceEditor_channel_set(PointerRNA *ptr, int value)
 }
 
 /* properties that need to allocate structs */
-static int rna_SequenceEditor_use_color_balance_set(PointerRNA *ptr, int value)
+static void rna_SequenceEditor_use_color_balance_set(PointerRNA *ptr, int value)
 {
        Sequence *seq= (Sequence*)ptr->data;
        int c;
@@ -119,7 +121,7 @@ static int rna_SequenceEditor_use_color_balance_set(PointerRNA *ptr, int value)
        }
 }
 
-static int rna_SequenceEditor_use_proxy_set(PointerRNA *ptr, int value)
+static void rna_SequenceEditor_use_proxy_set(PointerRNA *ptr, int value)
 {
        Sequence *seq= (Sequence*)ptr->data;
        if(value) {
@@ -132,7 +134,7 @@ static int rna_SequenceEditor_use_proxy_set(PointerRNA *ptr, int value)
        }
 }
 
-static int rna_SequenceEditor_use_translation_set(PointerRNA *ptr, int value)
+static void rna_SequenceEditor_use_translation_set(PointerRNA *ptr, int value)
 {
        Sequence *seq= (Sequence*)ptr->data;
        if(value) {
@@ -145,7 +147,7 @@ static int rna_SequenceEditor_use_translation_set(PointerRNA *ptr, int value)
        }
 }
 
-static int rna_SequenceEditor_use_crop_set(PointerRNA *ptr, int value)
+static void rna_SequenceEditor_use_crop_set(PointerRNA *ptr, int value)
 {
        Sequence *seq= (Sequence*)ptr->data;
        if(value) {