[gtk] inspector: Don't apply button api to menu buttons
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] inspector: Don't apply button api to menu buttons
- Date: Mon, 20 May 2019 23:34:04 +0000 (UTC)
commit 53277990468e037c3730d9874f1b5adcb2be1b1e
Author: Matthias Clasen <mclasen redhat com>
Date: Mon May 20 23:33:07 2019 +0000
inspector: Don't apply button api to menu buttons
gtk/inspector/prop-editor.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/gtk/inspector/prop-editor.c b/gtk/inspector/prop-editor.c
index aad381b42e..1c0573fc42 100644
--- a/gtk/inspector/prop-editor.c
+++ b/gtk/inspector/prop-editor.c
@@ -569,7 +569,7 @@ flags_changed (GObject *object, GParamSpec *pspec, gpointer data)
g_value_unset (&val);
str = flags_to_string (fclass, flags);
- gtk_button_set_label (GTK_BUTTON (data), str);
+ gtk_menu_button_set_label (GTK_MENU_BUTTON (data), str);
g_free (str);
popover = gtk_menu_button_get_popover (GTK_MENU_BUTTON (data));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]