#include <gtk/gtk.h>

static void destroy( GtkWidget *widget,
                     gpointer   data )
{
    gtk_main_quit ();
}

int main( int   argc,
          char *argv[] )
{
    GtkBuilder *builder;
    GtkWindow *window;
    GError *error = NULL;

    gtk_init (&argc, &argv);
    
    builder = gtk_builder_new();
    g_assert (gtk_builder_add_from_file (builder, "gtkhpaned.ui", &error));
    
    window = GTK_WINDOW (gtk_builder_get_object (builder, "window"));
    g_signal_connect (window, "destroy",
		      G_CALLBACK (destroy), NULL);
    gtk_widget_show_all (GTK_WIDGET (window));
    
    gtk_main ();
    
    return 0;
}