gthreadedresolver: fix a bug in the GTask porting of lookup_records
authorDan Winship <danw@gnome.org>
Fri, 9 Nov 2012 16:38:08 +0000 (11:38 -0500)
committerDan Winship <danw@gnome.org>
Fri, 9 Nov 2012 16:41:01 +0000 (11:41 -0500)
commitf1b34cab8af395087e13d1a733bca1959487158f
tree2ed79cdd7ef47b9b6f2d3498a60f5e524b25fd9d
parentedeffe0c870d0716ab0f5a5b8d435ef585c71448
gthreadedresolver: fix a bug in the GTask porting of lookup_records

We were passing the wrong destroy notify when returning the list of
records, so it would crash if it got called (ie, if you didn't call
g_resolver_lookup_records_finish()).

(Also fix s/targets/records/ throughout the records functions.)
gio/gthreadedresolver.c