summaryrefslogtreecommitdiff
path: root/tests/scanner/drawable.c
diff options
context:
space:
mode:
authorColin Walters <walters@verbum.org>2010-08-18 19:38:05 -0400
committerColin Walters <walters@verbum.org>2010-08-31 16:05:56 -0400
commitf58c9cd835c6e5077496ea4abf18ecd8907c3288 (patch)
treeb9270b891cb9223a8cc12add7fb030e3f07e2a65 /tests/scanner/drawable.c
parent456a79cb1d3fee93a3e6e1af9ef2948b0866bdd3 (diff)
downloadgobject-introspection-f58c9cd835c6e5077496ea4abf18ecd8907c3288.tar.gz
tests: Fix namespacing for BarApp (should be just Bar)
Diffstat (limited to 'tests/scanner/drawable.c')
-rw-r--r--tests/scanner/drawable.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/tests/scanner/drawable.c b/tests/scanner/drawable.c
index 7101d180..0250fc05 100644
--- a/tests/scanner/drawable.c
+++ b/tests/scanner/drawable.c
@@ -1,41 +1,41 @@
#include "drawable.h"
-G_DEFINE_ABSTRACT_TYPE (TestDrawable, test_drawable, G_TYPE_OBJECT);
+G_DEFINE_ABSTRACT_TYPE (TestInheritDrawable, test_inherit_drawable, G_TYPE_OBJECT);
static void
-test_drawable_class_init (TestDrawableClass *klass)
+test_inherit_drawable_class_init (TestInheritDrawableClass *klass)
{
}
static void
-test_drawable_init (TestDrawable *drawable)
+test_inherit_drawable_init (TestInheritDrawable *drawable)
{
}
void
-test_drawable_do_foo (TestDrawable *drawable, int x)
+test_inherit_drawable_do_foo (TestInheritDrawable *drawable, int x)
{
}
void
-test_drawable_get_origin (TestDrawable *drawable, int *x, int *y)
+test_inherit_drawable_get_origin (TestInheritDrawable *drawable, int *x, int *y)
{
*x = 0;
*y = 0;
}
void
-test_drawable_get_size (TestDrawable *drawable, guint *width, guint *height)
+test_inherit_drawable_get_size (TestInheritDrawable *drawable, guint *width, guint *height)
{
*width = 42;
*height = 42;
}
void
-test_drawable_do_foo_maybe_throw (TestDrawable *drawable, int x, GError **error)
+test_inherit_drawable_do_foo_maybe_throw (TestInheritDrawable *drawable, int x, GError **error)
{
if (x != 42)
g_set_error(error, 0, 12, "The answer should be 42!");