Mercurial > geeqie.yaz
comparison src/pan-types.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 |
---|---|
223 | 223 |
224 PanItem *click_pi; | 224 PanItem *click_pi; |
225 PanItem *search_pi; | 225 PanItem *search_pi; |
226 | 226 |
227 gint idle_id; | 227 gint idle_id; |
228 | |
229 /* file list for edit menu */ | |
230 GList *editmenu_fd_list; | |
231 }; | 228 }; |
232 | 229 |
233 typedef struct _PanGrid PanGrid; | 230 typedef struct _PanGrid PanGrid; |
234 struct _PanGrid { | 231 struct _PanGrid { |
235 gint x; | 232 gint x; |