comparison src/applet.c @ 2567:f0e8cf09d8a3

[gaim-migrate @ 2580] Ho Hum committer: Tailor Script <tailor@pidgin.im>
author Rob Flynn <gaim@robflynn.com>
date Sun, 21 Oct 2001 19:38:13 +0000
parents 7c64b3ad0c3d
children b74421e92d55
comparison
equal deleted inserted replaced
2566:6d00c0f8bfc5 2567:f0e8cf09d8a3
57 char *path; 57 char *path;
58 GdkPixbuf *pb, *scale; 58 GdkPixbuf *pb, *scale;
59 guchar *dst, *p; 59 guchar *dst, *p;
60 double affine[6]; 60 double affine[6];
61 int r,g,b,i; 61 int r,g,b,i;
62
63 if (!applet)
64 return NULL;
62 65
63 cache = gdk_pixmap_new(applet->window, sizehint, sizehint, 66 cache = gdk_pixmap_new(applet->window, sizehint, sizehint,
64 gtk_widget_get_visual(applet)->depth); 67 gtk_widget_get_visual(applet)->depth);
65 gc = gdk_gc_new(cache); 68 gc = gdk_gc_new(cache);
66 gdk_gc_copy(gc, applet->style->bg_gc[GTK_WIDGET_STATE(applet)]); 69 gdk_gc_copy(gc, applet->style->bg_gc[GTK_WIDGET_STATE(applet)]);