As I was writing the code for the menu bar in my application, I noticed that
the GTK+ 2.0 API documentation at
http://developer.gnome.org/doc/API/2.0/gtk/GtkMenuBar.html says that
gtk_menu_bar_append, gtk_menu_bar_prepend and gtk_menu_bar_insert are
deprecated, but there's no mention of
I've been getting seg-faults when I try to work with data in my button
clicked callback functions, so as a test, I compiled and ran the
following program:
#include gtk/gtk.h
gchar m1[] = button 1;
gchar m2[] = button 2;
static void callback(GtkWidget* widget, GdkEvent *event, gpointer data) {