summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/giomm_ioerror/main.cc4
-rw-r--r--tests/giomm_memoryinputstream/main.cc2
-rw-r--r--tests/giomm_simple/main.cc2
3 files changed, 4 insertions, 4 deletions
diff --git a/tests/giomm_ioerror/main.cc b/tests/giomm_ioerror/main.cc
index 8aaa4298..de312f8a 100644
--- a/tests/giomm_ioerror/main.cc
+++ b/tests/giomm_ioerror/main.cc
@@ -73,9 +73,9 @@ main(int, char**)
else
std::cerr << "Gio::Error exception caught: " << ex.what() << std::endl;
}
- catch (const Glib::Exception& ex)
+ catch (const Glib::Error& ex)
{
- std::cerr << "Exception caught: " << ex.what() << std::endl;
+ std::cerr << "Glib::Error exception caught: " << ex.what() << std::endl;
return EXIT_FAILURE;
}
diff --git a/tests/giomm_memoryinputstream/main.cc b/tests/giomm_memoryinputstream/main.cc
index ce1b54ec..cbf682fb 100644
--- a/tests/giomm_memoryinputstream/main.cc
+++ b/tests/giomm_memoryinputstream/main.cc
@@ -77,7 +77,7 @@ main(int, char**)
return EXIT_FAILURE;
}
}
- catch (const Glib::Exception& ex)
+ catch (const Glib::Error& ex)
{
std::cerr << "Exception caught: " << ex.what() << std::endl;
return EXIT_FAILURE;
diff --git a/tests/giomm_simple/main.cc b/tests/giomm_simple/main.cc
index 7b1e8767..0a73cb51 100644
--- a/tests/giomm_simple/main.cc
+++ b/tests/giomm_simple/main.cc
@@ -49,7 +49,7 @@ main(int, char**)
return EXIT_FAILURE;
}
}
- catch (const Glib::Exception& ex)
+ catch (const Glib::Error& ex)
{
std::cerr << "Exception caught: " << ex.what() << std::endl;
return EXIT_FAILURE;