diff options
author | Perberos <[email protected]> | 2011-11-24 23:33:08 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-11-24 23:33:08 -0300 |
commit | af876ebbd621a63a1a0636fb0ce74da5c2aca480 (patch) | |
tree | fffc4b798e4172059fbd25d78f5bce93b3284af2 /src/math-buttons.h | |
parent | 5b8921d58fbb5ad226815829dece99d5cfc781b8 (diff) | |
download | mate-calc-af876ebbd621a63a1a0636fb0ce74da5c2aca480.tar.bz2 mate-calc-af876ebbd621a63a1a0636fb0ce74da5c2aca480.tar.xz |
allman style format
Diffstat (limited to 'src/math-buttons.h')
-rw-r--r-- | src/math-buttons.h | 28 |
1 files changed, 13 insertions, 15 deletions
diff --git a/src/math-buttons.h b/src/math-buttons.h index 7e85e33..711db6f 100644 --- a/src/math-buttons.h +++ b/src/math-buttons.h @@ -29,34 +29,32 @@ G_BEGIN_DECLS typedef struct MathButtonsPrivate MathButtonsPrivate; -typedef struct -{ +typedef struct { GtkVBox parent_instance; - MathButtonsPrivate *priv; + MathButtonsPrivate* priv; } MathButtons; -typedef struct -{ - GtkVBoxClass parent_class; +typedef struct { + GtkVBoxClass parent_class; } MathButtonsClass; typedef enum { - BASIC, - ADVANCED, - FINANCIAL, - PROGRAMMING + BASIC, + ADVANCED, + FINANCIAL, + PROGRAMMING } ButtonMode; GType math_buttons_get_type(void); -MathButtons *math_buttons_new(MathEquation *equation); +MathButtons* math_buttons_new(MathEquation* equation); -void math_buttons_set_mode(MathButtons *buttons, ButtonMode mode); +void math_buttons_set_mode(MathButtons* buttons, ButtonMode mode); -ButtonMode math_buttons_get_mode(MathButtons *buttons); +ButtonMode math_buttons_get_mode(MathButtons* buttons); -void math_buttons_set_programming_base(MathButtons *buttons, gint base); +void math_buttons_set_programming_base(MathButtons* buttons, gint base); -gint math_buttons_get_programming_base(MathButtons *buttons); +gint math_buttons_get_programming_base(MathButtons* buttons); #endif /* MATH_BUTTONS_H */ |