aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/ring.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ring.cpp')
-rw-r--r--src/ring.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ring.cpp b/src/ring.cpp
index 19b494f..f7dc3bf 100644
--- a/src/ring.cpp
+++ b/src/ring.cpp
@@ -38,6 +38,7 @@
#include "parser.h"
#include "expressions.h"
#include "ring.h"
+#include "error.h"
#ifdef HAVE_WINDOWS_H
/* here it shouldn't cause conflicts with other headers */
@@ -134,7 +135,7 @@ Buffer::load(const gchar *filename)
GError *gerror = NULL;
if (!g_file_get_contents(filename, &contents, &size, &gerror))
- throw State::GError(gerror);
+ throw GlibError(gerror);
edit();