[gtk+] label: Actually mark visited labels as visited
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] label: Actually mark visited labels as visited
- Date: Fri, 6 Jan 2012 04:24:54 +0000 (UTC)
commit 42d0a6de23a3faa11fb2ac5ac599b5c67b50013a
Author: Benjamin Otte <otte redhat com>
Date: Fri Jan 6 05:17:46 2012 +0100
label: Actually mark visited labels as visited
A recalculate will clear the labels and compute them again, which will
clear the information if something was visited...
gtk/gtklabel.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index 9597f56..098e069 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -6314,7 +6314,7 @@ emit_activate_link (GtkLabel *label,
{
link->visited = TRUE;
/* FIXME: shouldn't have to redo everything here */
- gtk_label_recalculate (label);
+ gtk_label_clear_layout (label);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]