Another option is to look at the properties of the tags to get the information
that you need. This might work better than saving globals and matching pointers.
Eric
...
GSList *tlist=NULL;
GSList *next=NULL;
tlist=gtk_text_iter_get_tags(&start);
if(tlist!=NULL)
{
do
{
next=tlist->next;
gchar *string=NULL;
g_object_get(G_OBJECT(tlist->data), "name", &string, NULL);
g_print("%s\n", string);
g_free(string);
tlist=g_slist_next(tlist);
}while(next!=NULL);
}
else g_print("No Tags\n");
if(tlist!=NULL) g_slist_free(tlist);
...
_______________________________________________
gtk-app-devel-list mailing list
[email protected]
https://mail.gnome.org/mailman/listinfo/gtk-app-devel-list