comparison mcabber/src/roster.h @ 147:7571de4aed73

[/trunk] Changeset 159 by mikael * Fix a bug in buddylist_build() * We now lock the current buddy even not when being in chat mode. For example, if we're writing to s.o. and he leaves just before we press enter, we won't write to the wrong buddy... If the current_buddy is a group, we lock it too. * Remove MCABBER_TESTUNIT ifdef in roster.h (test program isn't up-to-date anymore...)
author mikael
date Fri, 29 Apr 2005 19:56:28 +0000
parents 6533a231a65e
children c3624b2a7059
comparison
equal deleted inserted replaced
146:50f23c38743a 147:7571de4aed73
1 #ifndef __ROSTER_H__ 1 #ifndef __ROSTER_H__
2 #define __ROSTER_H__ 1 2 #define __ROSTER_H__ 1
3 3
4 #include <glib.h> 4 #include <glib.h>
5 5
6 #ifdef MCABBER_TESTUNIT
7 # include "test_roster_main.h"
8 #else
9 # include "jabglue.h" 6 # include "jabglue.h"
10 #endif
11 7
12 enum findwhat { 8 enum findwhat {
13 jidsearch, 9 jidsearch,
14 namesearch 10 namesearch
15 }; 11 };