summaryrefslogtreecommitdiff
path: root/gtk/gtkaccellabel.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-07-12 08:09:04 +0200
committerMatthias Clasen <mclasen@redhat.com>2017-07-19 21:27:16 -0400
commit308f41487de5897660dbbb52cd24e49294abbe20 (patch)
treee849c37a616cfe72e939242fb738f27a42346377 /gtk/gtkaccellabel.c
parent5116ce19b76646f26fcc368d0ee75ac021a96598 (diff)
downloadgtk+-308f41487de5897660dbbb52cd24e49294abbe20.tar.gz
modelmenuitem: Set label on menu items
We have to add a check for GTK_IS_ACCEL_LABEL too now...
Diffstat (limited to 'gtk/gtkaccellabel.c')
-rw-r--r--gtk/gtkaccellabel.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkaccellabel.c b/gtk/gtkaccellabel.c
index 8eac6d5f46..520c2a5967 100644
--- a/gtk/gtkaccellabel.c
+++ b/gtk/gtkaccellabel.c
@@ -995,7 +995,7 @@ gtk_accel_label_set_label (GtkAccelLabel *accel_label,
g_return_if_fail (GTK_IS_ACCEL_LABEL (accel_label));
- gtk_label_set_label (GTK_LABEL (priv->text_label), text);
+ gtk_label_set_text_with_mnemonic (GTK_LABEL (priv->text_label), text);
}
const char *