1.1 --- a/Frameworks/libpurple.framework/Versions/0.5.6/Headers/fix_purple.h Sun Jun 21 22:04:11 2009 -0400
1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000
1.3 @@ -1,51 +0,0 @@
1.4 -/**
1.5 - * Copyright (C) 2007-2008 Felipe Contreras
1.6 - *
1.7 - * This program is free software; you can redistribute it and/or modify
1.8 - * it under the terms of the GNU General Public License as published by
1.9 - * the Free Software Foundation; either version 2 of the License, or
1.10 - * (at your option) any later version.
1.11 - *
1.12 - * This program is distributed in the hope that it will be useful,
1.13 - * but WITHOUT ANY WARRANTY; without even the implied warranty of
1.14 - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1.15 - * GNU General Public License for more details.
1.16 - *
1.17 - * You should have received a copy of the GNU General Public License along
1.18 - * with this program; if not, write to the Free Software Foundation, Inc.,
1.19 - * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
1.20 - */
1.21 -
1.22 -#ifndef FIX_PURPLE_H
1.23 -#define FIX_PURPLE_H
1.24 -
1.25 -struct _PurpleConnection;
1.26 -
1.27 -#include <glib.h>
1.28 -
1.29 -#if !GLIB_CHECK_VERSION(2,3,1)
1.30 -
1.31 -#if GLIB_SIZEOF_LONG == 8
1.32 -#define G_GSIZE_FORMAT "lu"
1.33 -#else
1.34 -#define G_GSIZE_FORMAT "u"
1.35 -#endif
1.36 -
1.37 -#endif /* !GLIB_CHECK_VERSION(2,3,1) */
1.38 -
1.39 -#if !GLIB_CHECK_VERSION(2,14,0)
1.40 -static inline guint
1.41 -g_timeout_add_seconds (guint interval,
1.42 - GSourceFunc function,
1.43 - gpointer data)
1.44 -{
1.45 - g_return_val_if_fail (function != NULL, 0);
1.46 -
1.47 - return g_timeout_add_full (G_PRIORITY_DEFAULT, interval * 1000, function, data, NULL);
1.48 -}
1.49 -#endif /* !GLIB_CHECK_VERSION(2,14,0) */
1.50 -
1.51 -void purple_buddy_set_displayname (struct _PurpleConnection *gc, const gchar *who, const gchar *value);
1.52 -void purple_buddy_set_nickname (struct _PurpleConnection *gc, const gchar *who, const gchar *value);
1.53 -
1.54 -#endif /* FIX_PURPLE_H */