#include <gtk/gtk.h>
#define N_BYTE 20

int
main (int argc, char **argv)
{
  GtkWidget *window, *entry;
  char dest[N_BYTE];
  GDate *date;

  gtk_init (&argc, &argv);

  date = g_date_new_dmy (22, 2, 2007);
  g_date_strftime (dest, N_BYTE, "%B", date);
  g_date_free (date);

  window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
  entry = gtk_entry_new ();
  gtk_entry_set_text (GTK_ENTRY (entry), dest);
  gtk_container_add (GTK_CONTAINER (window), entry);
  gtk_widget_show_all (window);
  gtk_main ();

  return 0;
}
