Mercurial > geeqie
comparison src/pan-types.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 | 24a12aa0cb54 |
children | 956aab097ea7 |
comparison
equal
deleted
inserted
replaced
1697:219e1ba3ae30 | 1698:bfe04f01de5e |
---|---|
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; |