Home | History | Annotate | Download | only in gobject

Lines Matching refs:iface

48 test_iface_base_init (TestIfaceClass *iface)
50 iface->history = g_string_new (iface->history ? iface->history->str : NULL);
107 TestIfaceClass *iface = g_iface;
109 g_string_append (iface->history, check_data);
116 TestIfaceClass *iface;
128 iface = TEST_IFACE_GET_CLASS (object);
129 g_assert (strcmp (iface->history->str, "A") == 0);
137 iface = TEST_IFACE_GET_CLASS (object);
138 g_assert (strcmp (iface->history->str, "AB") == 0);
146 iface = TEST_IFACE_GET_CLASS (object);
147 g_assert (strcmp (iface->history->str, "B") == 0);
154 static GInterfaceInfo const iface = {
158 g_type_add_interface_static (TEST_TYPE_OBJECT4, TEST_TYPE_IFACE, &iface);
162 iface = TEST_IFACE_GET_CLASS (object);
163 g_assert (strcmp (iface->history->str, "B") == 0);