summaryrefslogtreecommitdiff
path: root/gtk/gtklabel.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtklabel.c')
-rw-r--r--gtk/gtklabel.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/gtk/gtklabel.c b/gtk/gtklabel.c
index d23f0253a9..b6c1e43e49 100644
--- a/gtk/gtklabel.c
+++ b/gtk/gtklabel.c
@@ -1696,6 +1696,10 @@ gtk_label_set_text_internal (GtkLabel *self,
g_free (self->text);
self->text = str;
+ gtk_accessible_update_property (GTK_ACCESSIBLE (self),
+ GTK_ACCESSIBLE_PROPERTY_LABEL, str,
+ -1);
+
gtk_label_select_region_index (self, 0, 0);
}