Mercurial > geeqie.yaz
comparison src/dupe.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 | 24a12aa0cb54 |
children |
comparison
equal
deleted
inserted
replaced
1674:d5c921f9bb4c | 1675:717374fb1bbd |
---|---|
107 GtkWidget *second_vbox; /* box of second widgets */ | 107 GtkWidget *second_vbox; /* box of second widgets */ |
108 GtkWidget *second_listview; | 108 GtkWidget *second_listview; |
109 GtkWidget *second_status_label; | 109 GtkWidget *second_status_label; |
110 | 110 |
111 gboolean color_frozen; | 111 gboolean color_frozen; |
112 | |
113 /* file list for edit menu */ | |
114 GList *editmenu_fd_list; | |
115 | |
116 }; | 112 }; |
117 | 113 |
118 | 114 |
119 DupeWindow *dupe_window_new(DupeMatchType match_mask); | 115 DupeWindow *dupe_window_new(DupeMatchType match_mask); |
120 | 116 |