? depcomp ? stamp-h1 Index: configure.ac =================================================================== RCS file: /var/lib/cvs/guifications/configure.ac,v retrieving revision 1.15 diff -u -u -r1.15 configure.ac --- configure.ac 15 Jan 2004 01:58:58 -0000 1.15 +++ configure.ac 31 Jan 2004 17:50:57 -0000 @@ -94,8 +94,8 @@ *** GLib 2.0 is required to build Guifications; please make sure you have the *** GLib development headers installed. The latest version of GLib is always *** available at http://www.gtk.org/.])) -AM_PATH_GTK_2_0(2.2.0,,AC_MSG_ERROR([ -*** GTK+ 2.2 is required to build Guifications; please make sure you have the +AM_PATH_GTK_2_0(2.0.0,,AC_MSG_ERROR([ +*** GTK+ 2.0 is required to build Guifications; please make sure you have the *** GTK+ development headers installed. The latest version of GTK+ is always *** available at http://www.gtk.org/.])) Index: src/guifications.c =================================================================== RCS file: /var/lib/cvs/guifications/src/guifications.c,v retrieving revision 1.5 diff -u -u -r1.5 guifications.c --- src/guifications.c 14 Jan 2004 20:33:37 -0000 1.5 +++ src/guifications.c 31 Jan 2004 17:50:58 -0000 @@ -341,7 +341,11 @@ get_icon_pos(&px, &py); protocol = get_proto_icon(buddy); +#if GTK_CHECK_VERSION(2,2,0) gdk_draw_pixbuf(GDK_DRAWABLE(memmap), gf_window->style->bg_gc[GTK_STATE_NORMAL], protocol, 0, 0, px, py, -1, -1, GDK_RGB_DITHER_NORMAL, 0, 0); +#else + gdk_pixbuf_render_to_drawable(protocol, GDK_DRAWABLE(memmap), gf_window->style->bg_gc[GTK_STATE_NORMAL], 0, 0, px, py, -1, -1, GDK_RGB_DITHER_NORMAL, 0, 0); +#endif g_object_unref(protocol); if (gaim_prefs_get_bool(GF_PREF_BEHAVIOR_ALIAS))