Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2014-01-27 18:55:10 +0400
committerCampbell Barton <ideasman42@gmail.com>2014-01-27 18:55:10 +0400
commit0c6a01ca0072d8444309ec094bdc87d10695fc0d (patch)
tree5b2940ba9ed9d99cbd8d74c744803852408fda2c /source/blender/makesrna/intern/rna_text.c
parent5aa006bc1c9b99bcbc1a5190d34a70fcaaa0d2da (diff)
Use includes for blenderplayer stubs
exposes many incorrect and redundant stubs
Diffstat (limited to 'source/blender/makesrna/intern/rna_text.c')
-rw-r--r--source/blender/makesrna/intern/rna_text.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/source/blender/makesrna/intern/rna_text.c b/source/blender/makesrna/intern/rna_text.c
index b1672da2e3c..46477007962 100644
--- a/source/blender/makesrna/intern/rna_text.c
+++ b/source/blender/makesrna/intern/rna_text.c
@@ -44,8 +44,6 @@
#ifdef RNA_RUNTIME
-int text_file_modified(Text *text); /* XXX bad level call */
-
static void rna_Text_filename_get(PointerRNA *ptr, char *value)
{
Text *text = (Text *)ptr->data;
@@ -78,7 +76,7 @@ static void rna_Text_filename_set(PointerRNA *ptr, const char *value)
static int rna_Text_modified_get(PointerRNA *ptr)
{
Text *text = (Text *)ptr->data;
- return text_file_modified(text);
+ return BKE_text_file_modified_check(text) != 0;
}
static int rna_Text_current_line_index_get(PointerRNA *ptr)