templates/c/gobject-template/src/main.c

21 lines
279 B
C

#include <stdio.h>
#include "my_gobj.h"
int main()
{
MyGobj *obj, *obk;
fprintf(stderr, "DECLARED.\n");
obj = my_gobj_new();
obk = my_gobj_new();
fprintf(stderr, "CREATED.\n");
g_object_unref(obj);
g_object_unref(obk);
fprintf(stderr, "DESTROYED.\n");
return 0;
}