Mercurial > geeqie
view po/regen_potfiles.sh @ 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 | 351dd18c7db0 |
children |
line wrap: on
line source
#!/bin/sh #generate a patch to update POTFILES.in #Use like this: ./regen_potfiles.sh | patch -p0 TMP=POTFILES.in.$$ ((find ../src/ -type f -name '*.c' ; find ../ -type f -name '*.desktop.in') | while read f; do (echo $f | sed 's#^../##') done) | sort > $TMP diff -u POTFILES.in $TMP rm -f $TMP