Mercurial > pidgin
comparison libpurple/internal.h @ 32819:2c6510167895 default tip
propagate from branch 'im.pidgin.pidgin.2.x.y' (head 3315c5dfbd0ad16511bdcf865e5b07c02d07df24)
to branch 'im.pidgin.pidgin' (head cbd1eda6bcbf0565ae7766396bb8f6f419cb6a9a)
| author | Elliott Sales de Andrade <qulogic@pidgin.im> |
|---|---|
| date | Sat, 02 Jun 2012 02:30:49 +0000 |
| parents | c2fa3a76a0be |
| children |
comparison
equal
deleted
inserted
replaced
| 32818:01ff09d4a463 | 32819:2c6510167895 |
|---|---|
| 149 #endif | 149 #endif |
| 150 #endif | 150 #endif |
| 151 | 151 |
| 152 #include <glib-object.h> | 152 #include <glib-object.h> |
| 153 | 153 |
| 154 /* Safer ways to work with static buffers. When using non-static | |
| 155 * buffers, either use g_strdup_* functions (preferred) or use | |
| 156 * g_strlcpy/g_strlcpy directly. */ | |
| 157 #define purple_strlcpy(dest, src) g_strlcpy(dest, src, sizeof(dest)) | |
| 158 #define purple_strlcat(dest, src) g_strlcat(dest, src, sizeof(dest)) | |
| 159 | |
| 160 #define PURPLE_WEBSITE "http://pidgin.im/" | 154 #define PURPLE_WEBSITE "http://pidgin.im/" |
| 161 #define PURPLE_DEVEL_WEBSITE "http://developer.pidgin.im/" | 155 #define PURPLE_DEVEL_WEBSITE "http://developer.pidgin.im/" |
| 162 | 156 |
| 163 | 157 |
| 164 /* INTERNAL FUNCTIONS */ | 158 /* INTERNAL FUNCTIONS */ |
| 173 | 167 |
| 174 /* This is for the buddy list to notify the buddy icon code that | 168 /* This is for the buddy list to notify the buddy icon code that |
| 175 * it's done loading. We may want to replace this with a signal. */ | 169 * it's done loading. We may want to replace this with a signal. */ |
| 176 void | 170 void |
| 177 _purple_buddy_icons_blist_loaded_cb(void); | 171 _purple_buddy_icons_blist_loaded_cb(void); |
| 178 | |
| 179 /* This is for the purple_core_migrate() code to tell the buddy | |
| 180 * icon subsystem about the old icons directory so it can | |
| 181 * migrate any icons in use. */ | |
| 182 void | |
| 183 _purple_buddy_icon_set_old_icons_dir(const char *dirname); | |
| 184 | 172 |
| 185 /** | 173 /** |
| 186 * Creates a connection to the specified account and either connects | 174 * Creates a connection to the specified account and either connects |
| 187 * or attempts to register a new account. If you are logging in, | 175 * or attempts to register a new account. If you are logging in, |
| 188 * the connection uses the current active status for this account. | 176 * the connection uses the current active status for this account. |
