Replace all occurrences of deprecated gtk_widget_show
and gtk_widget_hide
with gtk_widget_set_visible
.
P.S. This is the script used:
for file in `find $1 -name '*.c' -type f`
do
sed -E -i \
's/gtk_widget_hide\ ?\((.*)\);/gtk_widget_set_visible (\1, FALSE);/gi' \
"$file"
done
To replace show
variant, edit hide
and FALSE
accordingly