void do_exit(GtkWidget *widget, gpointer txt) { // TODO }
int main(int argc, char *argv[]) {
gtk_init(&argc, &argv);
GtkBuilder *builder = gtk_builder_new();
gtk_builder_add_from_file (builder, "./project1.glade", NULL);
GtkWidget *window = GTK_WIDGET(gtk_builder_get_object(builder, "window"));
gtk_builder_connect_signals(builder, NULL);
gtk_widget_show(window);
gtk_main();
Nb. use -rdynamic option in linking.