pidgin/pidgin

Add a get_minimum_search_length to PurpleProtocolContacts
default tip
55 minutes 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/
TEST_SQLITE3_SOURCES = [
'test_sqlite3.c'
]
TEST_SQLITE3_RESOURCES = gnome.compile_resources('test_sqlite3_resources',
'test_sqlite3.gresource.xml',
source_dir : '.',
c_name : 'test_sqlite3')
TEST_SQLITE3_SOURCES += TEST_SQLITE3_RESOURCES
test_sqlite3 = executable(
'test_sqlite3',
TEST_SQLITE3_SOURCES,
dependencies : [libpurple_dep, glib, sqlite3])
test('sqlite3', test_sqlite3)