… | … | ||
---|---|---|---|
49 | img->ref->ours = false; | 49 | img->ref->ours = false; |
50 | 50 | ||
51 | return img; | 51 | return img; |
52 | } | 52 | } |
53 | 53 | ||
54 | # if HAVE_PIXBUF | ||
54 | rxvt_img * | 55 | rxvt_img * |
55 | rxvt_img::new_from_pixbuf (rxvt_screen *s, GdkPixbuf *pb) | 56 | rxvt_img::new_from_pixbuf (rxvt_screen *s, GdkPixbuf *pb) |
56 | { | 57 | { |
57 | Display *dpy = s->display->dpy; | 58 | Display *dpy = s->display->dpy; |
58 | 59 | ||
… | … | ||
166 | 167 | ||
167 | g_object_unref (pb); | 168 | g_object_unref (pb); |
168 | 169 | ||
169 | return img; | 170 | return img; |
170 | } | 171 | } |
172 | # endif | ||
171 | 173 | ||
172 | void | 174 | void |
173 | rxvt_img::destroy () | 175 | rxvt_img::destroy () |
174 | { | 176 | { |
175 | if (--ref->cnt) | 177 | if (--ref->cnt) |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |