Cleanup: Remove very old hack to fix linking in interface module
Pull Request: https://projects.blender.org/blender/blender/pulls/118988
This commit is contained in:
parent
b879772004
commit
aab9ecc396
|
@ -3178,9 +3178,6 @@ const uiStyle *UI_style_get(); /* use for fonts etc */
|
|||
*/
|
||||
const uiStyle *UI_style_get_dpi();
|
||||
|
||||
/* linker workaround ack! */
|
||||
void UI_template_fix_linking();
|
||||
|
||||
/* UI_OT_editsource helpers */
|
||||
bool UI_editsource_enable_check();
|
||||
void UI_editsource_active_but_test(uiBut *but);
|
||||
|
|
|
@ -6004,12 +6004,6 @@ void UI_block_layout_resolve(uiBlock *block, int *r_x, int *r_y)
|
|||
}
|
||||
|
||||
BLI_listbase_clear(&block->layouts);
|
||||
|
||||
/* XXX silly trick, `interface_templates.cc` doesn't get linked
|
||||
* because it's not used by other files in this module? */
|
||||
{
|
||||
UI_template_fix_linking();
|
||||
}
|
||||
}
|
||||
|
||||
bool UI_block_layout_needs_resolving(const uiBlock *block)
|
||||
|
|
|
@ -107,8 +107,6 @@ using blender::Vector;
|
|||
#define TEMPLATE_SEARCH_TEXTBUT_MIN_WIDTH (UI_UNIT_X * 6)
|
||||
#define TEMPLATE_SEARCH_TEXTBUT_HEIGHT UI_UNIT_Y
|
||||
|
||||
void UI_template_fix_linking() {}
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Header Template
|
||||
* \{ */
|
||||
|
|
Loading…
Reference in New Issue