{
   GtkWidget *notebook1;
   gint = page;

   page=gtk_notebook_get_current_page(GTK_NOTEBOOK(notebook1));
   gtk_notebook_remove_page(GTK_NOTEBOOK(notebook1) , page);
}

Seems like you missed a step in setting the notebook1 pointer to a valid widget. As of now, it is a stray pointer & obviously you would segfault.

You'd be receiving the widget's pointer to your callback anyway, so try
using that pointer.

Regards,
Raj
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list

Reply via email to