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 /tests/testiconview.c | |
parent | c2bd238e887e586c36d344d6b6c08e326cb5c3da (diff) | |
download | gtk+-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 'tests/testiconview.c')
-rw-r--r-- | tests/testiconview.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/testiconview.c b/tests/testiconview.c index e5e5b244ee..1ef1464cfe 100644 --- a/tests/testiconview.c +++ b/tests/testiconview.c @@ -502,22 +502,22 @@ main (gint argc, gchar **argv) #endif /* Allow DND between the icon view and the tree view */ - gtk_icon_view_enable_model_drag_source (icon_list, + gtk_icon_view_enable_model_drag_source (GTK_ICON_VIEW (icon_list), GDK_BUTTON1_MASK, item_targets, G_N_ELEMENTS (item_targets), GDK_ACTION_MOVE); - gtk_icon_view_enable_model_drag_dest (icon_list, + gtk_icon_view_enable_model_drag_dest (GTK_ICON_VIEW (icon_list), item_targets, G_N_ELEMENTS (item_targets), GDK_ACTION_MOVE); - gtk_tree_view_enable_model_drag_source (tv, + gtk_tree_view_enable_model_drag_source (GTK_TREE_VIEW (tv), GDK_BUTTON1_MASK, item_targets, G_N_ELEMENTS (item_targets), GDK_ACTION_MOVE); - gtk_tree_view_enable_model_drag_dest (tv, + gtk_tree_view_enable_model_drag_dest (GTK_TREE_VIEW (tv), item_targets, G_N_ELEMENTS (item_targets), GDK_ACTION_MOVE); |