comparison src/typedefs.h @ 1675:717374fb1bbd

fixed destroying of menu data Make sure that menu destroy functions do not access parent widget structures that are already destroyed There are 2 ways to achieve this: - use g_signal_handlers_disconnect_matched() like in vf_destroy_cb() - use separate data structure passed to *_popup_menu_destroy_cb() like in img-view.
author nadvornik
date Tue, 21 Jul 2009 14:17:01 +0000
parents 7a4034d32503
children c71126e3b2f9
comparison
equal deleted inserted replaced
1674:d5c921f9bb4c 1675:717374fb1bbd
661 // gint bar_enabled; 661 // gint bar_enabled;
662 662
663 // gint bar_width; 663 // gint bar_width;
664 664
665 GtkWidget *exif_window; 665 GtkWidget *exif_window;
666
667 /* file list for edit menu */
668 GList *editmenu_fd_list;
669 }; 666 };
670 667
671 struct _ViewDir 668 struct _ViewDir
672 { 669 {
673 DirViewType type; 670 DirViewType type;