On Mon, 6 Jul 2015, Allin Cottrell wrote:
My app has a collection of objects which can be viewed either
individually or in a tabbed viewer based on GtkNotebook. When
objects are being viewed in the latter way, the user is supposed to
be able to drag an object out of the tabbed viewer, with the effect
of giving it its own window.
This works fine with gtk 2.24.28, but I'm getting a segfault with
the same code on gtk 3.16.4. [...]
Sorry to self-reply, but I now see that if I use the special function
gtk_notebook_detach_tab() to pull the tab out of the notebook, instead
of gtk_notebook_remove_page() or gtk_container_remove(), then the drag
to root window works OK on current gtk 3. But that special function is
new in 3.16, so the question arises: Is there a workaround to
prevent a crash on gtk 3 < 3.16?
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list