"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "gtk/gtklabel.c" between
gtk+-3.24.26.tar.xz and gtk+-3.24.27.tar.xz

About: GTK+ 3 (the GIMP Toolkit; version 3) is a library for creating graphical user interfaces for the X Window System.

gtklabel.c  (gtk+-3.24.26.tar.xz):gtklabel.c  (gtk+-3.24.27.tar.xz)
skipping to change at line 6745 skipping to change at line 6745
static void static void
emit_activate_link (GtkLabel *label, emit_activate_link (GtkLabel *label,
GtkLabelLink *link) GtkLabelLink *link)
{ {
GtkLabelPrivate *priv = label->priv; GtkLabelPrivate *priv = label->priv;
gboolean handled; gboolean handled;
GtkStateFlags state; GtkStateFlags state;
g_signal_emit (label, signals[ACTIVATE_LINK], 0, link->uri, &handled); g_signal_emit (label, signals[ACTIVATE_LINK], 0, link->uri, &handled);
/* signal handler might have invalidated the layout */
if (!priv->layout)
return;
if (handled && priv->track_links && !link->visited && if (handled && priv->track_links && !link->visited &&
priv->select_info && priv->select_info->links) priv->select_info && priv->select_info->links)
{ {
link->visited = TRUE; link->visited = TRUE;
state = gtk_css_node_get_state (link->cssnode); state = gtk_css_node_get_state (link->cssnode);
gtk_css_node_set_state (link->cssnode, (state & ~GTK_STATE_FLAG_LINK) | GT K_STATE_FLAG_VISITED); gtk_css_node_set_state (link->cssnode, (state & ~GTK_STATE_FLAG_LINK) | GT K_STATE_FLAG_VISITED);
/* FIXME: shouldn't have to redo everything here */ /* FIXME: shouldn't have to redo everything here */
gtk_label_clear_layout (label); gtk_label_clear_layout (label);
} }
} }
 End of changes. 1 change blocks. 
0 lines changed or deleted 5 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)