--- rxvt-unicode/src/main.C 2012/05/28 16:40:03 1.373 +++ rxvt-unicode/src/main.C 2012/06/03 17:48:28 1.375 @@ -573,6 +573,10 @@ XSetIOErrorHandler (rxvt_xioerror_handler); XrmInitialize (); + +#ifdef HAVE_PIXBUF + g_type_init (); +#endif } /*----------------------------------------------------------------------*/ @@ -1622,28 +1626,6 @@ XTranslateCoordinates (dpy, parent, display->root, 0, 0, &x, &y, &cr); } -Pixmap -rxvt_term::get_pixmap_property (Atom property) -{ - Pixmap pixmap = None; - - int aformat; - unsigned long nitems, bytes_after; - Atom atype; - unsigned char *prop; - int result = XGetWindowProperty (dpy, display->root, property, - 0L, 1L, False, XA_PIXMAP, &atype, &aformat, - &nitems, &bytes_after, &prop); - if (result == Success) - { - if (atype == XA_PIXMAP) - pixmap = *(Pixmap *)prop; - XFree (prop); - } - - return pixmap; -} - #ifdef HAVE_BG_PIXMAP void