diff options
author | Murray Cumming <murrayc@murrayc.com> | 2010-01-29 14:22:19 +0100 |
---|---|---|
committer | Murray Cumming <murrayc@murrayc.com> | 2010-01-29 14:22:19 +0100 |
commit | afa80fbc792015d7f9143e5ae7d92329356640fc (patch) | |
tree | 80698a17a8130fcd68a7eee3ebcadd00d3036ca9 /gio/src/fileiostream.ccg | |
parent | 6c48bee7dc03671e5e88e8060f68240cfb68fc6f (diff) | |
download | glibmm-afa80fbc792015d7f9143e5ae7d92329356640fc.tar.gz |
Use Glib::unwrap() instead of ->gobj(),
* gio/src/*.ccg: Use Glib::unwrap() instead of ->gobj(), so we don't
crash if people pass in null RefPtr<>s, which they might do by
accident, or if we have not wrapped all the may-be-null cases as
method overrides.
Diffstat (limited to 'gio/src/fileiostream.ccg')
-rw-r--r-- | gio/src/fileiostream.ccg | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gio/src/fileiostream.ccg b/gio/src/fileiostream.ccg index 2c017eab..c6f28ae7 100644 --- a/gio/src/fileiostream.ccg +++ b/gio/src/fileiostream.ccg @@ -73,7 +73,7 @@ FileIOStream::query_info_async(const SlotAsyncReady& slot, const Glib::RefPtr<Ca g_file_io_stream_query_info_async(gobj(), const_cast<char*>(attributes.c_str()), io_priority, - cancellable->gobj(), + Glib::unwrap(cancellable), &SignalProxy_async_callback, slot_copy); } |