[gtk+] text view: Set an element name
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] text view: Set an element name
- Date: Fri, 30 Oct 2015 23:58:49 +0000 (UTC)
commit 2b998aaad7146b1ac300eefc39ed6fb851a763b8
Author: Matthias Clasen <mclasen redhat com>
Date: Fri Oct 30 18:11:13 2015 -0400
text view: Set an element name
And it will be...drumroll...textview.
gtk/gtktextview.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtktextview.c b/gtk/gtktextview.c
index 3980de4..8f8d2ce 100644
--- a/gtk/gtktextview.c
+++ b/gtk/gtktextview.c
@@ -1635,6 +1635,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS
GTK_TYPE_DIRECTION_TYPE, GTK_DIR_TAB_BACKWARD);
gtk_widget_class_set_accessible_type (widget_class, GTK_TYPE_TEXT_VIEW_ACCESSIBLE);
+ gtk_widget_class_set_css_name (widget_class, "textview");
quark_text_selection_data = g_quark_from_static_string ("gtk-text-view-text-selection-data");
quark_gtk_signal = g_quark_from_static_string ("gtk-signal");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]