diff options
author | Manish Singh <yosh@gimp.org> | 2005-05-14 07:19:48 +0000 |
---|---|---|
committer | Manish Singh <yosh@src.gnome.org> | 2005-05-14 07:19:48 +0000 |
commit | 4849c70543bcc7ebc6485d3523c298b9121da596 (patch) | |
tree | c40832e2ea5ad3db8f7f7fea7f329ef5b5c24a70 /gtk/gtkiconview.c | |
parent | c2bd238e887e586c36d344d6b6c08e326cb5c3da (diff) | |
download | gdk-pixbuf-4849c70543bcc7ebc6485d3523c298b9121da596.tar.gz |
gdk/gdkdraw.c #include gdkcairo.h for gdk_cairo_create() declaration.
Sat May 14 00:07:46 2005 Manish Singh <yosh@gimp.org>
* gdk/gdkdraw.c
* gdk/gdkpango.c: #include gdkcairo.h for gdk_cairo_create()
declaration.
* gtk/gtkiconview.c (gtk_icon_view_create_drag_icon): actually
call gdk_cairo_set_source_color() with a color.
* gtk/gtkimage.c (gtk_image_expose): remove unused stock_id variable.
* tests/testiconview.c (main): cast args of drag functions to the
appropriate type.
Diffstat (limited to 'gtk/gtkiconview.c')
-rw-r--r-- | gtk/gtkiconview.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gtk/gtkiconview.c b/gtk/gtkiconview.c index 849410368..d2758313f 100644 --- a/gtk/gtkiconview.c +++ b/gtk/gtkiconview.c @@ -6463,7 +6463,8 @@ gtk_icon_view_create_drag_icon (GtkIconView *icon_view, cr = gdk_cairo_create (drawable); cairo_set_line_width (cr, 1.); - gdk_cairo_set_source_color (cr, &widget->style->base_gc); + gdk_cairo_set_source_color + (cr, &widget->style->base[GTK_WIDGET_STATE (widget)]); cairo_rectangle (cr, 0, 0, item->width + 2, item->height + 2); cairo_fill (cr); |