diff options
author | Matthias Clasen <mclasen@redhat.com> | 2015-04-27 22:52:03 -0400 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2015-04-27 22:52:03 -0400 |
commit | 7332fefe96debbdb95452ebbcdd031dcbd96ab77 (patch) | |
tree | 236d7eaa91b47d5d464079106b4b9639cd1e0721 /gtk/gtkbuilder.h | |
parent | 7969204e7a97b73902d6d040dce27188d7aea229 (diff) | |
download | gtk+-7332fefe96debbdb95452ebbcdd031dcbd96ab77.tar.gz |
GtkBuilder: Add an error code for 'invalid ID'
This is in preparation for reporting such errors through GError.
Diffstat (limited to 'gtk/gtkbuilder.h')
-rw-r--r-- | gtk/gtkbuilder.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtkbuilder.h b/gtk/gtkbuilder.h index 12815d2f0a..9f19fe1b3b 100644 --- a/gtk/gtkbuilder.h +++ b/gtk/gtkbuilder.h @@ -64,6 +64,7 @@ typedef struct _GtkBuilderPrivate GtkBuilderPrivate; * @GTK_BUILDER_ERROR_TEMPLATE_MISMATCH: The wrong type was specified in a composite class’s template XML * @GTK_BUILDER_ERROR_INVALID_PROPERTY: The specified property is unknown for the object class. * @GTK_BUILDER_ERROR_INVALID_SIGNAL: The specified signal is unknown for the object class. + * @GTK_BUILDER_ERROR_INVALID_ID: An object id is unknown * * Error codes that identify various errors that can occur while using * #GtkBuilder. @@ -82,7 +83,8 @@ typedef enum GTK_BUILDER_ERROR_OBJECT_TYPE_REFUSED, GTK_BUILDER_ERROR_TEMPLATE_MISMATCH, GTK_BUILDER_ERROR_INVALID_PROPERTY, - GTK_BUILDER_ERROR_INVALID_SIGNAL + GTK_BUILDER_ERROR_INVALID_SIGNAL, + GTK_BUILDER_ERROR_INVALID_ID } GtkBuilderError; GDK_AVAILABLE_IN_ALL |