Home | History | Annotate | Download | only in tests

Lines Matching refs:info1

99   GAppInfo *info, *info1, *info2, *info3;
103 info1 = create_app_info ("Blah1");
107 g_app_info_set_as_default_for_type (info1, "application/x-test", &error);
116 /* check that both are in the list, info2 before info1 */
121 g_assert (g_strcmp0 (g_app_info_get_id (info), g_app_info_get_id (info1)) == 0);
133 /* check that all are in the list, info2, info1, info3 */
138 g_assert (g_strcmp0 (g_app_info_get_id (info), g_app_info_get_id (info1)) == 0);
146 /* now remove info1 again */
147 g_app_info_remove_supports_type (info1, "application/x-test", &error);
169 g_app_info_delete (info1);
173 g_object_unref (info1);