[gtk+] label: Don't excessively recalculate
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] label: Don't excessively recalculate
- Date: Fri, 6 Jan 2012 04:24:34 +0000 (UTC)
commit f1c9a3e633f75c00f368f4601c82fd41464069b3
Author: Benjamin Otte <otte redhat com>
Date: Fri Jan 6 05:06:29 2012 +0100
label: Don't excessively recalculate
We don't merge attributes anymore, so no need to call the function that
used to do this job.
gtk/gtklabel.c | 2 --
1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index 9f37616..d6b8ba9 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -2160,8 +2160,6 @@ gtk_label_set_attributes (GtkLabel *label,
g_object_notify (G_OBJECT (label), "attributes");
- gtk_label_recalculate (label);
-
gtk_label_clear_layout (label);
gtk_widget_queue_resize (GTK_WIDGET (label));
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]