diff options
author | Matthias Clasen <matthiasc@src.gnome.org> | 2004-10-28 15:00:05 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2004-10-28 15:00:05 +0000 |
commit | d5f92150d4b8bffb78cd5110cbb2c28bfdf81136 (patch) | |
tree | 0d79978a95c24dcbdb2d9fd577dedf0da2795ece /tests/testiconview.c | |
parent | dbba41045ecb383810fb8962ee9b83998a89c37d (diff) | |
download | gtk+-d5f92150d4b8bffb78cd5110cbb2c28bfdf81136.tar.gz |
Fix many sparse warnings.
Diffstat (limited to 'tests/testiconview.c')
-rw-r--r-- | tests/testiconview.c | 2 |
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); |