summaryrefslogtreecommitdiff
path: root/test/test-nautilus-wrap-table.c
diff options
context:
space:
mode:
Diffstat (limited to 'test/test-nautilus-wrap-table.c')
-rw-r--r--test/test-nautilus-wrap-table.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/test/test-nautilus-wrap-table.c b/test/test-nautilus-wrap-table.c
index 6eb5a84ba..3e502fa68 100644
--- a/test/test-nautilus-wrap-table.c
+++ b/test/test-nautilus-wrap-table.c
@@ -79,10 +79,10 @@ main (int argc, char* argv[])
g_object_unref (G_OBJECT (pixbuf));
/* Attach parameters and signal handler. */
- g_object_set_data (G_OBJECT (button),
- "nautilus_property_name",
- emblem_name,
- g_free);
+ g_object_set_data_full (G_OBJECT (button),
+ "nautilus_property_name",
+ emblem_name,
+ (GDestroyNotify) g_free);
gtk_container_add (GTK_CONTAINER (emblems_table), button);
}