[Xfce4-commits] [apps/xfce4-terminal] 01/01: Align text blink mode namings

noreply at xfce.org noreply at xfce.org
Mon Jan 8 00:25:29 CET 2018


This is an automated email from the git hooks/post-receive script.

f   2   4   0   4       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository apps/xfce4-terminal.

commit f41771b245bd6b32c20f4de03d7b2023babc50db
Author: Igor <f2404 at yandex.ru>
Date:   Sun Jan 7 18:25:23 2018 -0500

    Align text blink mode namings
---
 terminal/terminal-preferences.c |  2 +-
 terminal/terminal-preferences.h | 10 +++++-----
 terminal/terminal-screen.c      |  8 ++++----
 3 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/terminal/terminal-preferences.c b/terminal/terminal-preferences.c
index 5ccd916..8d84e56 100644
--- a/terminal/terminal-preferences.c
+++ b/terminal/terminal-preferences.c
@@ -1147,7 +1147,7 @@ terminal_preferences_class_init (TerminalPreferencesClass *klass)
                          NULL,
                          "TextBlinkMode",
                          TERMINAL_TYPE_TEXT_BLINK_MODE,
-                         TERMINAL_TEXT_BLINK_ALWAYS,
+                         TERMINAL_TEXT_BLINK_MODE_ALWAYS,
                          G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS);
 
   /* install all properties */
diff --git a/terminal/terminal-preferences.h b/terminal/terminal-preferences.h
index 128a92e..a5f2944 100644
--- a/terminal/terminal-preferences.h
+++ b/terminal/terminal-preferences.h
@@ -87,12 +87,12 @@ typedef enum /*< enum,prefix=TERMINAL_CURSOR_SHAPE >*/
   TERMINAL_CURSOR_SHAPE_UNDERLINE
 } TerminalCursorShape;
 
-typedef enum /*< enum,prefix=TERMINAL_TEXT_BLINK >*/
+typedef enum /*< enum,prefix=TERMINAL_TEXT_BLINK_MODE >*/
 {
-  TERMINAL_TEXT_BLINK_NEVER,
-  TERMINAL_TEXT_BLINK_FOCUSED,
-  TERMINAL_TEXT_BLINK_UNFOCUSED,
-  TERMINAL_TEXT_BLINK_ALWAYS
+  TERMINAL_TEXT_BLINK_MODE_NEVER,
+  TERMINAL_TEXT_BLINK_MODE_FOCUSED,
+  TERMINAL_TEXT_BLINK_MODE_UNFOCUSED,
+  TERMINAL_TEXT_BLINK_MODE_ALWAYS
 } TerminalTextBlinkMode;
 
 GType                terminal_preferences_get_type  (void) G_GNUC_CONST;
diff --git a/terminal/terminal-screen.c b/terminal/terminal-screen.c
index 13812cc..1310080 100644
--- a/terminal/terminal-screen.c
+++ b/terminal/terminal-screen.c
@@ -1226,18 +1226,18 @@ terminal_screen_update_text_blink_mode (TerminalScreen *screen)
 
   switch (val)
     {
-      case VTE_TEXT_BLINK_ALWAYS:
+      case TERMINAL_TEXT_BLINK_MODE_ALWAYS:
         break;
 
-      case TERMINAL_TEXT_BLINK_NEVER:
+      case TERMINAL_TEXT_BLINK_MODE_NEVER:
         mode = VTE_TEXT_BLINK_NEVER;
         break;
 
-      case TERMINAL_TEXT_BLINK_FOCUSED:
+      case TERMINAL_TEXT_BLINK_MODE_FOCUSED:
         mode = VTE_TEXT_BLINK_FOCUSED;
         break;
 
-      case TERMINAL_TEXT_BLINK_UNFOCUSED:
+      case TERMINAL_TEXT_BLINK_MODE_UNFOCUSED:
         mode = VTE_TEXT_BLINK_UNFOCUSED;
         break;
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list