[gedit] View: change underscores in signal names by dashes
- From: Sébastien Wilmet <swilmet src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] View: change underscores in signal names by dashes
- Date: Tue, 24 Nov 2020 21:54:02 +0000 (UTC)
commit 591f5d0ded9f386c24c02f944ab9702dc644fd65
Author: Sébastien Wilmet <swilmet gnome org>
Date: Tue Nov 24 22:47:08 2020 +0100
View: change underscores in signal names by dashes
In the docs the signal names have dashes.
gedit/gedit-view.c | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gedit/gedit-view.c b/gedit/gedit-view.c
index 768cad24f..72e476077 100644
--- a/gedit/gedit-view.c
+++ b/gedit/gedit-view.c
@@ -670,26 +670,26 @@ gedit_view_class_init (GeditViewClass *klass)
gtk_binding_entry_add_signal (binding_set,
GDK_KEY_d,
GDK_CONTROL_MASK,
- "delete_from_cursor", 2,
+ "delete-from-cursor", 2,
G_TYPE_ENUM, GTK_DELETE_PARAGRAPHS,
G_TYPE_INT, 1);
gtk_binding_entry_add_signal (binding_set,
GDK_KEY_u,
GDK_CONTROL_MASK,
- "change_case", 1,
+ "change-case", 1,
G_TYPE_ENUM, GTK_SOURCE_CHANGE_CASE_UPPER);
gtk_binding_entry_add_signal (binding_set,
GDK_KEY_l,
GDK_CONTROL_MASK,
- "change_case", 1,
+ "change-case", 1,
G_TYPE_ENUM, GTK_SOURCE_CHANGE_CASE_LOWER);
gtk_binding_entry_add_signal (binding_set,
GDK_KEY_asciitilde,
GDK_CONTROL_MASK,
- "change_case", 1,
+ "change-case", 1,
G_TYPE_ENUM, GTK_SOURCE_CHANGE_CASE_TOGGLE);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]