1 /* -*- mode: C; c-file-style: "gnu"; indent-tabs-mode: nil; -*- */
3 /* This file gets installed, so we can't assume config.h is available */
10 G_DEFINE_ABSTRACT_TYPE (RegressTestInheritDrawable, regress_test_inherit_drawable, G_TYPE_OBJECT);
13 regress_test_inherit_drawable_class_init (RegressTestInheritDrawableClass *klass)
19 regress_test_inherit_drawable_init (RegressTestInheritDrawable *drawable)
25 regress_test_inherit_drawable_do_foo (RegressTestInheritDrawable *drawable, int x)
31 * regress_test_inherit_drawable_get_origin:
37 regress_test_inherit_drawable_get_origin (RegressTestInheritDrawable *drawable, int *x, int *y)
44 * regress_test_inherit_drawable_get_size:
50 regress_test_inherit_drawable_get_size (RegressTestInheritDrawable *drawable, guint *width, guint *height)
57 regress_test_inherit_drawable_do_foo_maybe_throw (RegressTestInheritDrawable *drawable, int x, GError **error)
60 g_set_error(error, 0, 12, "The answer should be 42!");