Glade3 and C programming
I am trying to create a simple app that accepts two integer and displays Sum of two on clicking "Sum" button And I am new to Glade3, so you can expect blunders /* * Compile me with: * gcc -o test test.c $(pkg-config --cflags --libs gtk+-2.0 gmodule-2.0) */ #include <gtk/gtk.h> #include <stdio.h> #include <stdlib.h> #include <string.h> GtkBuilder *builder; GtkWidget *window; GError *error = NULL; void on_button1_clicked(GtkButton *button1, GtkEntry *entry1, GtkEntry *entry2, GtkEntry *entry3 ) { const char *input1 = (const char *)malloc(20); const char *input2 = (const char *)malloc(20); char