| 21 * |
21 * |
| 22 * You should have received a copy of the GNU General Public License |
22 * You should have received a copy of the GNU General Public License |
| 23 * along with this program; if not, write to the Free Software |
23 * along with this program; if not, write to the Free Software |
| 24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
24 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA |
| 25 */ |
25 */ |
| |
26 #define _PIDGIN_GTKUTILS_C_ |
| |
27 |
| 26 #include "internal.h" |
28 #include "internal.h" |
| 27 #include "pidgin.h" |
29 #include "pidgin.h" |
| 28 |
30 |
| 29 #ifndef _WIN32 |
31 #ifndef _WIN32 |
| 30 # include <X11/Xlib.h> |
32 # include <X11/Xlib.h> |
| 2891 } |
2892 } |
| 2892 |
2893 |
| 2893 contact = purple_buddy_get_contact(buddy); |
2894 contact = purple_buddy_get_contact(buddy); |
| 2894 purple_buddy_icons_node_set_custom_icon_from_file((PurpleBlistNode*)contact, filename); |
2895 purple_buddy_icons_node_set_custom_icon_from_file((PurpleBlistNode*)contact, filename); |
| 2895 } |
2896 } |
| 2896 #endif |
|
| 2897 |
2897 |
| 2898 char *pidgin_make_pretty_arrows(const char *str) |
2898 char *pidgin_make_pretty_arrows(const char *str) |
| 2899 { |
2899 { |
| 2900 char *ret; |
2900 char *ret; |
| 2901 char **split = g_strsplit(str, "->", -1); |
2901 char **split = g_strsplit(str, "->", -1); |