pidgin/pidgin
Clone
Summary
Browse
Changes
Graph
Add a get_minimum_search_length to PurpleProtocolContacts
default
tip
11 days ago, Gary Kramlich
5ebb4beb29b7
Add a get_minimum_search_length to PurpleProtocolContacts
This can be used by user interfaces, to not call
PurpleProtocolContacts.search_async with strings smaller than this length.
Testing Done:
Called in the turtles and ran the protocol_contacts test under valgrind.
Reviewed at https://reviews.imfreedom.org/r/3164/
subdir_done
()
library
(
'autoaccept'
,
'autoaccept.c'
,
c_args
:
[
'-DG_LOG_USE_STRUCTURED'
,
'-DG_LOG_DOMAIN="PurplePlugin-AutoAccept"'
],
gnu_symbol_visibility
:
'hidden'
,
dependencies
:
[
libpurple_dep
,
glib
],
name_prefix
:
''
,
install
:
true
,
install_dir
:
PURPLE_PLUGINDIR
)
settings_schemas
=
[
'im.pidgin.Purple.plugin.AutoAccept.gschema.xml'
,
]
install_data
(
settings_schemas
,
install_dir
:
schemas_dir
)
gnome
.
post_install
(
glib_compile_schemas
:
true
)
# Compile the schemas in the current directory; this is only useful for testing
gnome
.
compile_schemas
(
depend_files
:
files
(
settings_schemas
))
devenv
.
append
(
'PURPLE_PLUGIN_PATH'
,
meson
.
current_build_dir
())