Commit 981a8542 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

add_font: remove unused parameter

parent 3204d232
...@@ -319,7 +319,7 @@ enum vlc_module_properties ...@@ -319,7 +319,7 @@ enum vlc_module_properties
add_string_inner( CONFIG_ITEM_DIRECTORY, name, text, longtext, advc, \ add_string_inner( CONFIG_ITEM_DIRECTORY, name, text, longtext, advc, \
value ) value )
#define add_font( name, value, p_callback, text, longtext, advc )\ #define add_font( name, value, text, longtext, advc )\
add_string_inner( CONFIG_ITEM_FONT, name, text, longtext, advc, \ add_string_inner( CONFIG_ITEM_FONT, name, text, longtext, advc, \
value ) value )
......
...@@ -148,7 +148,7 @@ vlc_module_begin () ...@@ -148,7 +148,7 @@ vlc_module_begin ()
set_category( CAT_VIDEO ) set_category( CAT_VIDEO )
set_subcategory( SUBCAT_VIDEO_SUBPIC ) set_subcategory( SUBCAT_VIDEO_SUBPIC )
add_font( "freetype-font", DEFAULT_FONT, NULL, FONT_TEXT, FONT_LONGTEXT, add_font( "freetype-font", DEFAULT_FONT, FONT_TEXT, FONT_LONGTEXT,
false ) false )
add_integer( "freetype-fontsize", 0, NULL, FONTSIZE_TEXT, add_integer( "freetype-fontsize", 0, NULL, FONTSIZE_TEXT,
......
...@@ -75,9 +75,9 @@ vlc_module_begin () ...@@ -75,9 +75,9 @@ vlc_module_begin ()
#else #else
add_loadfile( "projectm-preset-path", "/usr/share/projectM/presets", NULL, add_loadfile( "projectm-preset-path", "/usr/share/projectM/presets", NULL,
PRESET_PATH_TXT, PRESET_PATH_LONGTXT, true ) PRESET_PATH_TXT, PRESET_PATH_LONGTXT, true )
add_font( "projectm-title-font", "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf", NULL, add_font( "projectm-title-font", "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSans.ttf",
TITLE_FONT_TXT, TITLE_FONT_LONGTXT, true ) TITLE_FONT_TXT, TITLE_FONT_LONGTXT, true )
add_font( "projectm-menu-font", "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf", NULL, add_font( "projectm-menu-font", "/usr/share/fonts/truetype/ttf-dejavu/DejaVuSansMono.ttf",
MENU_FONT_TXT, MENU_FONT_LONGTXT, true ) MENU_FONT_TXT, MENU_FONT_LONGTXT, true )
#endif #endif
add_integer( "projectm-width", 800, NULL, WIDTH_TEXT, WIDTH_LONGTEXT, add_integer( "projectm-width", 800, NULL, WIDTH_TEXT, WIDTH_LONGTEXT,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment