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>2013-07-28 21:06:31 +0400
committerCampbell Barton <ideasman42@gmail.com>2013-07-28 21:06:31 +0400
commitfc4a7775112045c604bef0eacbe1dc3cc609d0f3 (patch)
tree33558d967b181b8b89f00fe4e55f3c35e2033d44 /source/blender/editors/screen/screen_ops.c
parentb8e06518c9626fcf3791a00fecb88cb6b3902947 (diff)
use '_exec' suffix for operator execute callbacks, also picky change to sizeof() use in BLI_array.h
Diffstat (limited to 'source/blender/editors/screen/screen_ops.c')
-rw-r--r--source/blender/editors/screen/screen_ops.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/screen/screen_ops.c b/source/blender/editors/screen/screen_ops.c
index 93ccc4f6a09..4670d659886 100644
--- a/source/blender/editors/screen/screen_ops.c
+++ b/source/blender/editors/screen/screen_ops.c
@@ -2564,7 +2564,7 @@ static void SCREEN_OT_area_options(wmOperatorType *ot)
/* ******************************* */
-static int spacedata_cleanup(bContext *C, wmOperator *op)
+static int spacedata_cleanup_exec(bContext *C, wmOperator *op)
{
Main *bmain = CTX_data_main(C);
bScreen *screen;
@@ -2596,7 +2596,7 @@ static void SCREEN_OT_spacedata_cleanup(wmOperatorType *ot)
ot->idname = "SCREEN_OT_spacedata_cleanup";
/* api callbacks */
- ot->exec = spacedata_cleanup;
+ ot->exec = spacedata_cleanup_exec;
ot->poll = WM_operator_winactive;
}
@@ -3369,7 +3369,7 @@ static void SCREEN_OT_animation_cancel(wmOperatorType *ot)
* poll() has to be filled in by user for context
*/
#if 0
-static int border_select_do(bContext *C, wmOperator *op)
+static int border_select_exec(bContext *C, wmOperator *op)
{
int event_type = RNA_int_get(op->ptr, "event_type");
@@ -3390,7 +3390,7 @@ static void SCREEN_OT_border_select(wmOperatorType *ot)
ot->idname = "SCREEN_OT_border_select";
/* api callbacks */
- ot->exec = border_select_do;
+ ot->exec = border_select_exec;
ot->invoke = WM_border_select_invoke;
ot->modal = WM_border_select_modal;
ot->cancel = WM_border_select_cancel;