Commit 17f6d671 authored by Christian Hergert's avatar Christian Hergert
Browse files

core: add ignore error helper

parent abcb6e42
......@@ -55,6 +55,13 @@ G_BEGIN_DECLS
g_steal_pointer ((arptr)); })
static inline gboolean
ide_error_ignore (const GError *error)
return g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED) ||
g_error_matches (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED);
static inline void
_g_object_unref0 (gpointer instance)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment