Commit: 439622d262fb22575c2221c4df55d0df5a60bba6
Author: Julian Eisel
Date:   Fri Dec 11 05:43:15 2015 +0100
Branches: temp_widgets_c++_experiment
https://developer.blender.org/rB439622d262fb22575c2221c4df55d0df5a60bba6

Cleanup: Remove unused code

Just added this while fooling around, but it's currently not needed.

===================================================================

M       source/blender/windowmanager/intern/widgets/wm_widgetgrouptype.cpp
M       source/blender/windowmanager/intern/widgets/wm_widgetgrouptype.h

===================================================================

diff --git a/source/blender/windowmanager/intern/widgets/wm_widgetgrouptype.cpp 
b/source/blender/windowmanager/intern/widgets/wm_widgetgrouptype.cpp
index 6fb7558..17a5502 100644
--- a/source/blender/windowmanager/intern/widgets/wm_widgetgrouptype.cpp
+++ b/source/blender/windowmanager/intern/widgets/wm_widgetgrouptype.cpp
@@ -122,19 +122,9 @@ void wmWidgetGroupType::attach_to_handler(bContext *C, 
wmEventHandler *handler,
        WM_event_add_mousemove(C);
 }
 
-wmWidgetMapType *wmWidgetGroupType::find_widgetmaptype()
-{
-       return WM_widgetmaptype_find(this->mapidname, this->spaceid, 
this->regionid, this->is_3d, false);
-}
-
 size_t wmWidgetGroupType::get_idname(char *r_idname)
 {
        strcpy(r_idname, this->idname);
        return sizeof(this->idname);
 }
 
-ExtensionRNA *wmWidgetGroupType::get_extensionrna()
-{
-       return &this->ext;
-}
-
diff --git a/source/blender/windowmanager/intern/widgets/wm_widgetgrouptype.h 
b/source/blender/windowmanager/intern/widgets/wm_widgetgrouptype.h
index b2eb65a..5fc6346 100644
--- a/source/blender/windowmanager/intern/widgets/wm_widgetgrouptype.h
+++ b/source/blender/windowmanager/intern/widgets/wm_widgetgrouptype.h
@@ -55,9 +55,7 @@ public:
                const short spaceid, const short regionid, const bool is_3d);
 
        void attach_to_handler(bContext *C, struct wmEventHandler *handler, 
struct wmOperator *op);
-       wmWidgetMapType *find_widgetmaptype();
        size_t get_idname(char *r_idname);
-       ExtensionRNA *get_extensionrna();
 
 private:
        char idname[64]; /* MAX_NAME */

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to