Hi. You need to set delete-event signal handler to be gtk_widget_hide_on_delete() in order to prevent your dialog from being destroyed when clicking X. Tadej -- Tadej Borov?ak tadeboro.blogspot.com tadeboro at gmail.com tadej.borovsak at gmail.com