[vte] widget: Rename beep signal to bell



commit 9b211fa62290112874a478df04172ba5ca18de00
Author: Egmont Koblinger <egmont gmail com>
Date:   Fri Sep 12 00:45:06 2014 +0200

    widget: Rename beep signal to bell
    
    https://bugzilla.gnome.org/show_bug.cgi?id=602726#c23

 src/vte.c         |   10 +++++-----
 src/vteterminal.h |    2 +-
 2 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/vte.c b/src/vte.c
index 02a1a90..dce11ef 100644
--- a/src/vte.c
+++ b/src/vte.c
@@ -10775,7 +10775,7 @@ vte_terminal_class_init(VteTerminalClass *klass)
        klass->copy_clipboard = vte_terminal_real_copy_clipboard;
        klass->paste_clipboard = vte_terminal_real_paste_clipboard;
 
-        klass->beep = NULL;
+        klass->bell = NULL;
 
         /* GtkScrollable interface properties */
         g_object_class_override_property (gobject_class, PROP_HADJUSTMENT, "hadjustment");
@@ -11256,16 +11256,16 @@ vte_terminal_class_init(VteTerminalClass *klass)
                             G_TYPE_NONE, 0);
 
         /**
-         * VteTerminal::beep:
+         * VteTerminal::bell:
          * @vteterminal: the object which received the signal
          *
-         * This signal is emitted when the a child sends a beep request to the
+         * This signal is emitted when the a child sends a bell request to the
          * terminal.
          */
-        g_signal_new(I_("beep"),
+        g_signal_new(I_("bell"),
                             G_OBJECT_CLASS_TYPE(klass),
                             G_SIGNAL_RUN_LAST,
-                            G_STRUCT_OFFSET(VteTerminalClass, beep),
+                            G_STRUCT_OFFSET(VteTerminalClass, bell),
                             NULL,
                             NULL,
                              g_cclosure_marshal_VOID__VOID,
diff --git a/src/vteterminal.h b/src/vteterminal.h
index c267263..d5dc089 100644
--- a/src/vteterminal.h
+++ b/src/vteterminal.h
@@ -102,7 +102,7 @@ struct _VteTerminalClass {
        void (*copy_clipboard)(VteTerminal* terminal);
        void (*paste_clipboard)(VteTerminal* terminal);
 
-       void (*beep)(VteTerminal* terminal);
+       void (*bell)(VteTerminal* terminal);
 
         /* Padding for future expansion. */
         gpointer padding[16];


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