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_graph/graph_buttons.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/space_graph/graph_buttons.c')
-rw-r--r--source/blender/editors/space_graph/graph_buttons.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/editors/space_graph/graph_buttons.c b/source/blender/editors/space_graph/graph_buttons.c
index 59e3180172d..93a68be164a 100644
--- a/source/blender/editors/space_graph/graph_buttons.c
+++ b/source/blender/editors/space_graph/graph_buttons.c
@@ -828,7 +828,7 @@ void graph_buttons_register(ARegionType *art)
BLI_addtail(&art->paneltypes, pt);
}
-static int graph_properties(bContext *C, wmOperator *UNUSED(op))
+static int graph_properties_toggle_exec(bContext *C, wmOperator *UNUSED(op))
{
ScrArea *sa = CTX_wm_area(C);
ARegion *ar = graph_has_buttons_region(sa);
@@ -845,7 +845,7 @@ void GRAPH_OT_properties(wmOperatorType *ot)
ot->idname = "GRAPH_OT_properties";
ot->description = "Toggle display properties panel";
- ot->exec = graph_properties;
+ ot->exec = graph_properties_toggle_exec;
ot->poll = ED_operator_graphedit_active;
/* flags */