Mercurial > pidgin.yaz
comparison src/conversation.c @ 3129:6006cc902d62
[gaim-migrate @ 3144]
The words of the prophets are written on the subway walls and tenement halls.
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Thu, 04 Apr 2002 20:11:25 +0000 |
parents | 4d967ccd797b |
children | fce1883cc608 |
comparison
equal
deleted
inserted
replaced
3128:8249e2c4b7ed | 3129:6006cc902d62 |
---|---|
3250 gtk_pixmap_get(GTK_PIXMAP(c->icon), &pm, NULL); | 3250 gtk_pixmap_get(GTK_PIXMAP(c->icon), &pm, NULL); |
3251 gc = gdk_gc_new(pm); | 3251 gc = gdk_gc_new(pm); |
3252 gdk_gc_set_clip_mask(gc, bm); | 3252 gdk_gc_set_clip_mask(gc, bm); |
3253 | 3253 |
3254 gdk_gc_set_clip_origin(gc, gdk_pixbuf_frame_get_x_offset(frame) * | 3254 gdk_gc_set_clip_origin(gc, gdk_pixbuf_frame_get_x_offset(frame) * |
3255 SCALE(c->anim)/gdk_pixbuf_get_width(scale), | 3255 SCALE(c->anim)/gdk_pixbuf_animation_get_width(c->anim), |
3256 gdk_pixbuf_frame_get_y_offset(frame)); | 3256 gdk_pixbuf_frame_get_y_offset(frame) * |
3257 SCALE(c->anim)/gdk_pixbuf_animation_get_height(c->anim)); | |
3257 gdk_draw_pixmap(pm, gc, src, 0, 0, gdk_pixbuf_frame_get_x_offset(frame)* | 3258 gdk_draw_pixmap(pm, gc, src, 0, 0, gdk_pixbuf_frame_get_x_offset(frame)* |
3258 SCALE(c->anim)/gdk_pixbuf_get_width(scale), | 3259 SCALE(c->anim)/gdk_pixbuf_animation_get_width(c->anim), |
3259 gdk_pixbuf_frame_get_y_offset(frame),-1,-1); | 3260 gdk_pixbuf_frame_get_y_offset(frame) * |
3261 SCALE(c->anim)/gdk_pixbuf_animation_get_height(c->anim),-1,-1); | |
3260 | 3262 |
3261 gdk_pixmap_unref(src); | 3263 gdk_pixmap_unref(src); |
3262 if (bm) | 3264 if (bm) |
3263 gdk_bitmap_unref(bm); | 3265 gdk_bitmap_unref(bm); |
3264 gtk_widget_queue_draw(c->icon); | 3266 gtk_widget_queue_draw(c->icon); |