[Xfce4-commits] [apps/xfce4-terminal] 01/01: Organize enums and structs definitions

noreply at xfce.org noreply at xfce.org
Wed Jul 27 13:03:29 CEST 2016


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

f2404 pushed a commit to branch master
in repository apps/xfce4-terminal.

commit 63a8ee3eb61b91e9e60806be713d0f1a5123d763
Author: Igor <f2404 at yandex.ru>
Date:   Wed Jul 27 14:03:24 2016 +0300

    Organize enums and structs definitions
---
 terminal/terminal-widget.c          | 6 ++----
 terminal/terminal-window-dropdown.c | 3 +--
 terminal/terminal-window.h          | 2 +-
 3 files changed, 4 insertions(+), 7 deletions(-)

diff --git a/terminal/terminal-widget.c b/terminal/terminal-widget.c
index e225739..f543e2d 100644
--- a/terminal/terminal-widget.c
+++ b/terminal/terminal-widget.c
@@ -68,15 +68,13 @@ typedef enum
   PATTERN_TYPE_FULL_HTTP,
   PATTERN_TYPE_HTTP,
   PATTERN_TYPE_EMAIL
-}
-PatternType;
+} PatternType;
 
 typedef struct
 {
   const gchar *pattern;
   PatternType  type;
-}
-TerminalRegexPattern;
+} TerminalRegexPattern;
 
 static const TerminalRegexPattern regex_patterns[] =
 {
diff --git a/terminal/terminal-window-dropdown.c b/terminal/terminal-window-dropdown.c
index bcaf0c5..c3141bd 100644
--- a/terminal/terminal-window-dropdown.c
+++ b/terminal/terminal-window-dropdown.c
@@ -96,8 +96,7 @@ typedef enum
   ANIMATION_DIR_NONE,
   ANIMATION_DIR_UP,
   ANIMATION_DIR_DOWN,
-}
-TerminalDirection;
+} TerminalDirection;
 
 struct _TerminalWindowDropdown
 {
diff --git a/terminal/terminal-window.h b/terminal/terminal-window.h
index 1750517..00ce558 100644
--- a/terminal/terminal-window.h
+++ b/terminal/terminal-window.h
@@ -33,7 +33,7 @@ G_BEGIN_DECLS
 #define TERMINAL_IS_WINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), TERMINAL_TYPE_WINDOW))
 #define TERMINAL_WINDOW_GET_CLASS(obj)  (G_TYPE_INSTANCE_GET_CLASS ((obj), TERMINAL_TYPE_WINDOW, TerminalWindowClass))
 
-typedef struct _TerminalWindowClass
+typedef struct
 {
   GtkWindowClass __parent__;
 } TerminalWindowClass;

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


More information about the Xfce4-commits mailing list