Mercurial > geeqie
comparison src/typedefs.h @ 1698:bfe04f01de5e
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 | c5c7e19fbb23 |
children | 9a20074dbd8f |
comparison
equal
deleted
inserted
replaced
1697:219e1ba3ae30 | 1698:bfe04f01de5e |
---|---|
664 // gint bar_enabled; | 664 // gint bar_enabled; |
665 | 665 |
666 // gint bar_width; | 666 // gint bar_width; |
667 | 667 |
668 GtkWidget *exif_window; | 668 GtkWidget *exif_window; |
669 | |
670 /* file list for edit menu */ | |
671 GList *editmenu_fd_list; | |
672 }; | 669 }; |
673 | 670 |
674 struct _ViewDir | 671 struct _ViewDir |
675 { | 672 { |
676 DirViewType type; | 673 DirViewType type; |