#include <girepository.h>
#include <stdio.h>
#include <string.h>

int main() {
	g_type_init();
	GError *error = NULL;
	GIRepository *repository;
	repository = g_irepository_get_default();
	
	g_irepository_require(repository, "Gtk", NULL, 0, &error);
	if(error!=NULL) printf("%s\n",error->message);
	printf("%s\n",g_irepository_get_c_prefix(repository,"Gtk"));
	g_object_unref(repository);
	g_free(repository);
}
