#include <gtk/gtk.h>

int
main (int argc, char *argv[])
{
  GHashTable *table;
  gint i;

  table = g_hash_table_new_full (NULL, NULL,
				 NULL,
				 (GDestroyNotify) g_free);

  for (i = 0; i <= 8; i++)
    g_hash_table_insert (table, GUINT_TO_POINTER (i + 10), g_strdup ("foo"));

  for (i = 0; i <= 8; i++)
    g_hash_table_remove (table, GUINT_TO_POINTER (i + 10));

  g_hash_table_remove_all (table);

  for (i = 0; i <= 8; i++)
    g_hash_table_insert (table, GUINT_TO_POINTER (i + 10), g_strdup ("foo"));


  g_print ("Finished.");

  return 0;
}
