diff options
author | Marcin Kolny <marcin.kolny@gmail.com> | 2015-08-08 14:45:12 +0200 |
---|---|---|
committer | Marcin Kolny <marcin.kolny@gmail.com> | 2015-08-08 14:45:59 +0200 |
commit | 0d5f63b18f5766760cf39e82ee11482984e0a938 (patch) | |
tree | e3f74b9b37e7618c92840024077dff43e6d08f0d /tests/giomm_asyncresult_sourceobject/main.cc | |
parent | dce7a844e48a582e42eb2b60eef5c1f2527540ac (diff) | |
parent | d94115843f38967b5e883f5f7d8057882ae364cb (diff) | |
download | glibmm-gir-gmmproc.tar.gz |
Merge branch 'master' into glibmm-gir-gmmprocglibmm-gir-gmmproc
Diffstat (limited to 'tests/giomm_asyncresult_sourceobject/main.cc')
-rw-r--r-- | tests/giomm_asyncresult_sourceobject/main.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/giomm_asyncresult_sourceobject/main.cc b/tests/giomm_asyncresult_sourceobject/main.cc index c9f79e58..12136fa8 100644 --- a/tests/giomm_asyncresult_sourceobject/main.cc +++ b/tests/giomm_asyncresult_sourceobject/main.cc @@ -29,9 +29,9 @@ int main(int, char**) Glib::init(); Gio::init(); - Glib::RefPtr<Glib::MainLoop> mainloop = Glib::MainLoop::create(); + auto mainloop = Glib::MainLoop::create(); - Glib::RefPtr<Gio::File> file = Gio::File::create_for_path("/etc/passwd"); + auto file = Gio::File::create_for_path("/etc/passwd"); file->read_async(&on_read_async); mainloop->run(); |