From 5b3d7bfdf6305e880f89d58cbe852a8d2ba7b241 Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Tue, 14 Apr 2009 15:59:52 +0000 Subject: 2.5 More cleanup! - removed old UI font completely, including from uiBeginBlock - emboss hints for uiBlock only have three types now; Regular, Pulldown, or "Nothing" (only icon/text) - removed old font path from Userdef - removed all old button theme hinting - removed old "auto block" to merge buttons in groups (was only in use for radiosity buttons) And went over all warnings. One hooray for make giving clean output :) Well, we need uniform definitions for warnings, so people at least fix them... here's the real bad bugs I found: - in mesh code, a call to editmesh mixed *em and *me - in armature, ED_util.h was not included, so no warnings for wrong call to ED_undo_push() - The extern Py api .h was not included in the bpy_interface.c, showing a several calls using different args. Further just added the missing includes, and removed unused vars. --- source/blender/editors/space_text/text_header.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/editors/space_text/text_header.c') diff --git a/source/blender/editors/space_text/text_header.c b/source/blender/editors/space_text/text_header.c index 0d6617619ef..0a8f5e9be3c 100644 --- a/source/blender/editors/space_text/text_header.c +++ b/source/blender/editors/space_text/text_header.c @@ -100,7 +100,7 @@ static uiBlock *text_template_scriptsmenu(bContext *C, void *args_unused) // int i= 0; // short yco = 20, menuwidth = 120; - block= uiBeginBlock(C, ar, "text_template_scriptsmenu", UI_EMBOSSP, UI_HELV); + block= uiBeginBlock(C, ar, "text_template_scriptsmenu", UI_EMBOSSP); uiBlockSetButmFunc(block, do_text_template_scriptsmenu, NULL); /* note that we acount for the N previous entries with i+20: */ @@ -133,7 +133,7 @@ static uiBlock *text_plugin_scriptsmenu(bContext *C, void *args_unused) // int i= 0; // short yco = 20, menuwidth = 120; - block= uiBeginBlock(C, ar, "text_plugin_scriptsmenu", UI_EMBOSSP, UI_HELV); + block= uiBeginBlock(C, ar, "text_plugin_scriptsmenu", UI_EMBOSSP); uiBlockSetButmFunc(block, do_text_plugin_scriptsmenu, NULL); /* note that we acount for the N previous entries with i+20: */ -- cgit v1.2.3