// build by gcc -o test6 -g -O0 test6.c `pkg-config --libs --cflags gtk+-3.0`

#include <gtk/gtk.h>

GtkWidget *window;

int main(int argc, char **argv)
{
    gtk_init(&argc, &argv);

    window = gtk_window_new(GTK_WINDOW_TOPLEVEL);

    gtk_window_resize(GTK_WINDOW(window), 1, 1);
    gtk_widget_realize(window);
    gdk_flush();

    gtk_widget_unrealize(window);
    gtk_window_set_titlebar(GTK_WINDOW(window), gtk_fixed_new());
    gtk_widget_realize(window);

    gtk_widget_show_all(window);
    gtk_main();

    return 0;
}
