Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/tests/everything/everything.h
diff options
context:
space:
mode:
Diffstat (limited to 'tests/everything/everything.h')
-rw-r--r--tests/everything/everything.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/tests/everything/everything.h b/tests/everything/everything.h
index 6347c63..448c74d 100644
--- a/tests/everything/everything.h
+++ b/tests/everything/everything.h
@@ -107,6 +107,7 @@ struct _TestStructA
gint8 some_int8;
gdouble some_double;
TestEnum some_enum;
+ GObject *some_obj;
};
void test_struct_a_clone (TestStructA *a,
@@ -174,18 +175,28 @@ gboolean test_boxed_equals (TestBoxed *boxed,
typedef struct _TestObj TestObj;
typedef struct _TestObjClass TestObjClass;
+
+/**
+ * TestObj:
+ * @bare: (allow-none):
+ */
struct _TestObj
{
GObject parent_instance;
+
+ GObject *bare;
};
struct _TestObjClass
{
GObjectClass parent_class;
+
+ guint test_signal;
};
GType test_obj_get_type (void);
TestObj* test_obj_new_from_file (const char *x, GError **error);
+void test_obj_set_bare (TestObj *obj, GObject *bare);
double test_obj_static_method (int x);
/* callback */