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>2011-10-28 07:02:09 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-10-28 07:02:09 +0400
commit592879bfca658d18fca54bd6a715304008a77f2c (patch)
treed8f1cf85f7e74e5e50611a39e415191ea4c6244c /source/blender/editors/space_text/text_header.c
parent36b8846f6e934d1e1929826823b0d7eb2c3fbb6f (diff)
prefix common internal operator function names so its possible to assign them breakpoints.
Diffstat (limited to 'source/blender/editors/space_text/text_header.c')
-rw-r--r--source/blender/editors/space_text/text_header.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_text/text_header.c b/source/blender/editors/space_text/text_header.c
index 7fde4266655..b8e53f752e2 100644
--- a/source/blender/editors/space_text/text_header.c
+++ b/source/blender/editors/space_text/text_header.c
@@ -98,12 +98,12 @@ static ARegion *text_has_properties_region(ScrArea *sa)
return arnew;
}
-static int properties_poll(bContext *C)
+static int text_properties_poll(bContext *C)
{
return (CTX_wm_space_text(C) != NULL);
}
-static int properties_exec(bContext *C, wmOperator *UNUSED(op))
+static int text_properties_exec(bContext *C, wmOperator *UNUSED(op))
{
ScrArea *sa= CTX_wm_area(C);
ARegion *ar= text_has_properties_region(sa);
@@ -122,8 +122,8 @@ void TEXT_OT_properties(wmOperatorType *ot)
ot->idname= "TEXT_OT_properties";
/* api callbacks */
- ot->exec= properties_exec;
- ot->poll= properties_poll;
+ ot->exec= text_properties_exec;
+ ot->poll= text_properties_poll;
}
/******************** XXX popup menus *******************/