summaryrefslogtreecommitdiff
path: root/tests/testiconview.c
diff options
context:
space:
mode:
authorMatthias Clasen <matthiasc@src.gnome.org>2004-10-28 15:00:05 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2004-10-28 15:00:05 +0000
commitd5f92150d4b8bffb78cd5110cbb2c28bfdf81136 (patch)
tree0d79978a95c24dcbdb2d9fd577dedf0da2795ece /tests/testiconview.c
parentdbba41045ecb383810fb8962ee9b83998a89c37d (diff)
downloadgtk+-d5f92150d4b8bffb78cd5110cbb2c28bfdf81136.tar.gz
Fix many sparse warnings.
Diffstat (limited to 'tests/testiconview.c')
-rw-r--r--tests/testiconview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/testiconview.c b/tests/testiconview.c
index 4463367271..142307db33 100644
--- a/tests/testiconview.c
+++ b/tests/testiconview.c
@@ -201,7 +201,7 @@ do_popup_menu (GtkWidget *icon_list,
data = g_new0 (ItemData, 1);
data->icon_list = GTK_ICON_VIEW (icon_list);
data->path = path;
- g_object_set_data_full (G_OBJECT (menu), "item-path", data, free_item_data);
+ g_object_set_data_full (G_OBJECT (menu), "item-path", data, (GDestroyNotify)free_item_data);
menuitem = gtk_menu_item_new_with_label ("Activate");
gtk_widget_show (menuitem);