[gtk/matthiasc/for-main] notebook: Use canonical signal names




commit d3e79633e128de759865686cad09142a32733d51
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Aug 27 22:32:29 2022 -0400

    notebook: Use canonical signal names
    
    No excuse for not doing that.

 gtk/gtknotebook.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index 694951eac9..62b3c96b26 100644
--- a/gtk/gtknotebook.c
+++ b/gtk/gtknotebook.c
@@ -976,11 +976,11 @@ add_tab_bindings (GtkWidgetClass   *widget_class,
 {
   gtk_widget_class_add_binding_signal (widget_class,
                                        GDK_KEY_Tab, modifiers,
-                                       "move_focus_out",
+                                       "move-focus-out",
                                        "(i)", direction);
   gtk_widget_class_add_binding_signal (widget_class,
                                        GDK_KEY_KP_Tab, modifiers,
-                                       "move_focus_out",
+                                       "move-focus-out",
                                        "(i)", direction);
 }
 
@@ -993,11 +993,11 @@ add_arrow_bindings (GtkWidgetClass   *widget_class,
 
   gtk_widget_class_add_binding_signal (widget_class,
                                        keysym, GDK_CONTROL_MASK,
-                                       "move_focus_out",
+                                       "move-focus-out",
                                        "(i)", direction);
   gtk_widget_class_add_binding_signal (widget_class,
                                        keypad_keysym, GDK_CONTROL_MASK,
-                                       "move_focus_out",
+                                       "move-focus-out",
                                        "(i)", direction);
 }
 
@@ -1011,11 +1011,11 @@ add_reorder_bindings (GtkWidgetClass   *widget_class,
 
   gtk_widget_class_add_binding_signal (widget_class,
                                        keysym, GDK_ALT_MASK,
-                                       "reorder_tab",
+                                       "reorder-tab",
                                        "(ib)", direction, move_to_last);
   gtk_widget_class_add_binding_signal (widget_class,
                                        keypad_keysym, GDK_ALT_MASK,
-                                       "reorder_tab",
+                                       "reorder-tab",
                                        "(ib)", direction, move_to_last);
 }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]