[Bf-blender-cvs] [e6c5611] wiggly-widgets: Cleanup: Use BLI_INLINE
Julian Eisel
noreply at git.blender.org
Fri Sep 11 01:38:33 CEST 2015
Commit: e6c5611dbced32ddbb54c2558f08a9dcc262f9d2
Author: Julian Eisel
Date: Fri Sep 11 01:31:20 2015 +0200
Branches: wiggly-widgets
https://developer.blender.org/rBe6c5611dbced32ddbb54c2558f08a9dcc262f9d2
Cleanup: Use BLI_INLINE
===================================================================
M source/blender/windowmanager/intern/wm_widgets.c
===================================================================
diff --git a/source/blender/windowmanager/intern/wm_widgets.c b/source/blender/windowmanager/intern/wm_widgets.c
index c07641b..45eb619 100644
--- a/source/blender/windowmanager/intern/wm_widgets.c
+++ b/source/blender/windowmanager/intern/wm_widgets.c
@@ -253,7 +253,7 @@ static void widget_calculate_scale(wmWidget *widget, const bContext *C)
widget->scale = scale * widget->user_scale;
}
-static bool widgets_compare(const wmWidget *a, const wmWidget *b)
+BLI_INLINE bool widgets_compare(const wmWidget *a, const wmWidget *b)
{
return STREQ(a->idname, b->idname);
}
More information about the Bf-blender-cvs
mailing list