GtkTextTagTable *tags = gtk_text_buffer_get_tag_table(textbuffer);
gtk_text_tag_table_add(tags, new_hyperlink->tag);
- printf("inserting link %d\n", linkval);
-
gint *linkval_pointer = g_new0(gint, 1);
*linkval_pointer = linkval;
g_hash_table_insert(str->window->hyperlinks, linkval_pointer, new_hyperlink);
{
hyperlink_t *link = (hyperlink_t *) value;
g_signal_handler_unblock(link->tag, link->event_handler);
- printf("unblocking link %d\n", link->value);
}
/* Internal function used to iterate over all the hyperlinks, blocking the event handler */