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/space_image
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/space_image')
-rw-r--r--source/blender/editors/space_image/image_buttons.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_image/image_buttons.c b/source/blender/editors/space_image/image_buttons.c
index 4b1975bc058..144d2c14e9f 100644
--- a/source/blender/editors/space_image/image_buttons.c
+++ b/source/blender/editors/space_image/image_buttons.c
@@ -886,7 +886,7 @@ void image_buttons_register(ARegionType *art)
BLI_addtail(&art->paneltypes, pt);
}
-static int image_properties(bContext *C, wmOperator *UNUSED(op))
+static int image_properties_toggle_exec(bContext *C, wmOperator *UNUSED(op))
{
ScrArea *sa = CTX_wm_area(C);
ARegion *ar = image_has_buttons_region(sa);
@@ -903,14 +903,14 @@ void IMAGE_OT_properties(wmOperatorType *ot)
ot->idname = "IMAGE_OT_properties";
ot->description = "Toggle display properties panel";
- ot->exec = image_properties;
+ ot->exec = image_properties_toggle_exec;
ot->poll = ED_operator_image_active;
/* flags */
ot->flag = 0;
}
-static int image_scopes(bContext *C, wmOperator *UNUSED(op))
+static int image_scopes_toggle_exec(bContext *C, wmOperator *UNUSED(op))
{
ScrArea *sa = CTX_wm_area(C);
ARegion *ar = image_has_scope_region(sa);
@@ -927,7 +927,7 @@ void IMAGE_OT_scopes(wmOperatorType *ot)
ot->idname = "IMAGE_OT_scopes";
ot->description = "Toggle display scopes panel";
- ot->exec = image_scopes;
+ ot->exec = image_scopes_toggle_exec;
ot->poll = ED_operator_image_active;
/* flags */