Mercurial > pidgin
diff src/oscar.c @ 1906:42aa9434800a
[gaim-migrate @ 1916]
gah.
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Mon, 28 May 2001 20:37:58 +0000 |
parents | 17ae421bb214 |
children | 1cfc79c126fe |
line wrap: on
line diff
--- a/src/oscar.c Mon May 28 19:18:06 2001 +0000 +++ b/src/oscar.c Mon May 28 20:37:58 2001 +0000 @@ -43,7 +43,7 @@ #include "aim.h" #include "proxy.h" -#if USE_GNOME +#if USE_PIXBUF #include <gdk-pixbuf/gdk-pixbuf.h> #include <gdk-pixbuf/gdk-pixbuf-loader.h> #endif @@ -62,7 +62,7 @@ #define AIMHASHDATA "http://gaim.sourceforge.net/aim_data.php3" static int gaim_caps = AIM_CAPS_CHAT | -#if USE_GNOME +#if USE_PIXBUF AIM_CAPS_BUDDYICON | #endif AIM_CAPS_GETFILE | @@ -143,7 +143,7 @@ long size; }; -#if USE_GNOME +#if USE_PIXBUF struct icon_req { char *user; time_t timestamp; @@ -522,7 +522,7 @@ odata->direct_ims = g_slist_remove(odata->direct_ims, n); g_free(n); } -#if USE_GNOME +#if USE_PIXBUF while (odata->hasicons) { struct icon_req *n = odata->hasicons->data; gdk_pixbuf_animation_unref(n->anim); @@ -1593,7 +1593,7 @@ } */ -#if USE_GNOME +#if USE_PIXBUF static gboolean redraw_anim(gpointer data) { int delay; @@ -1663,7 +1663,7 @@ args = va_arg(ap, struct aim_incomingim_ch1_args *); va_end(ap); -#if USE_GNOME +#if USE_PIXBUF if (args->icbmflags & AIM_IMFLAGS_HASICON) { struct oscar_data *od = gc->proto_data; struct icon_req *ir; @@ -1725,7 +1725,7 @@ */ } else if (args->reqclass & AIM_CAPS_VOICE) { } else if (args->reqclass & AIM_CAPS_BUDDYICON) { -#if USE_GNOME +#if USE_PIXBUF struct oscar_data *od = gc->proto_data; GSList *h = od->hasicons; struct icon_req *ir = NULL; @@ -2439,7 +2439,7 @@ aim_send_im(odata->sess, odata->conn, name, AIM_IMFLAGS_AWAY, message); else { int flags = AIM_IMFLAGS_ACK; -#if USE_GNOME +#if USE_PIXBUF GSList *h = odata->hasicons; struct icon_req *ir; char *who = normalize(name); @@ -3127,7 +3127,7 @@ static void oscar_insert_convo(struct gaim_connection *gc, struct conversation *c) { -#if USE_GNOME +#if USE_PIXBUF struct oscar_data *od = gc->proto_data; GSList *h = od->hasicons; struct icon_req *ir = NULL; @@ -3173,7 +3173,7 @@ static void oscar_remove_convo(struct gaim_connection *gc, struct conversation *c) { -#if USE_GNOME +#if USE_PIXBUF struct oscar_data *od = gc->proto_data; GSList *h = od->hasicons; struct icon_req *ir = NULL;