diff options
author | Peter Waller <peter.waller@gmail.com> | 2009-08-04 11:14:30 +0200 |
---|---|---|
committer | Benjamin Otte <otte@gnome.org> | 2009-08-04 11:14:30 +0200 |
commit | a3979cd918d366be7850ca558b3040b8d2d0322d (patch) | |
tree | 227696acca7c96793db1d325ab5192d5d376aee9 /client/gdaemonfileoutputstream.c | |
parent | 553ab151148e1f263960f5976eb6a5405ab8ae7e (diff) | |
download | gvfs-a3979cd918d366be7850ca558b3040b8d2d0322d.tar.gz |
Bug 589915 - gedit crashed with SEGV in strlen()
FIx a crash introduced by commit c372064a where it was forgotten do
adapt the function signature of a callback
Diffstat (limited to 'client/gdaemonfileoutputstream.c')
-rw-r--r-- | client/gdaemonfileoutputstream.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/client/gdaemonfileoutputstream.c b/client/gdaemonfileoutputstream.c index e47c2e87..c5263e14 100644 --- a/client/gdaemonfileoutputstream.c +++ b/client/gdaemonfileoutputstream.c @@ -1474,6 +1474,7 @@ async_close_done (GOutputStream *stream, gpointer op_data, GAsyncReadyCallback callback, gpointer user_data, + GCancellable *cancellable, GError *io_error) { GDaemonFileOutputStream *file; @@ -1481,7 +1482,6 @@ async_close_done (GOutputStream *stream, CloseOperation *op; gboolean result; GError *error; - GCancellable *cancellable = NULL; /* TODO: get cancellable */ file = G_DAEMON_FILE_OUTPUT_STREAM (stream); @@ -1544,7 +1544,7 @@ g_daemon_file_output_stream_close_async (GOutputStream *stream, op, io_priority, (GAsyncReadyCallback)callback, data, cancellable, - (AsyncIteratorDone)async_close_done); + async_close_done); } static gboolean |