diff options
author | Raymond Penners <pennersr@src.gnome.org> | 2003-10-22 18:41:02 +0000 |
---|---|---|
committer | Raymond Penners <pennersr@src.gnome.org> | 2003-10-22 18:41:02 +0000 |
commit | 0727b51dc239d1ad0a749c11a3746d99613b7224 (patch) | |
tree | 359a6d5bea23eea48051f8cf9738287c0376e7c7 /modules | |
parent | bce309448644e65ecbfb70178bf084af809b885c (diff) | |
download | gtk+-0727b51dc239d1ad0a749c11a3746d99613b7224.tar.gz |
More code formatting
Diffstat (limited to 'modules')
-rwxr-xr-x | modules/engines/ms-windows/wimp_style.c | 4 | ||||
-rwxr-xr-x | modules/engines/ms-windows/xp_theme.c | 12 | ||||
-rwxr-xr-x | modules/engines/ms-windows/xp_theme.h | 2 |
3 files changed, 9 insertions, 9 deletions
diff --git a/modules/engines/ms-windows/wimp_style.c b/modules/engines/ms-windows/wimp_style.c index 9421cd2b77..0410b85aed 100755 --- a/modules/engines/ms-windows/wimp_style.c +++ b/modules/engines/ms-windows/wimp_style.c @@ -1192,7 +1192,7 @@ draw_box (GtkStyle *style, } else if (detail && strcmp (detail, "menuitem") == 0) { shadow_type = GTK_SHADOW_NONE; - if (xp_theme_draw (window, XP_THEME_ELEMENT_MENUITEM, style, x, y, width, height, state_type, area)) + if (xp_theme_draw (window, XP_THEME_ELEMENT_MENU_ITEM, style, x, y, width, height, state_type, area)) { return; } @@ -1562,7 +1562,7 @@ draw_handle (GtkStyle *style, gint height, GtkOrientation orientation) { - if (!GTK_IS_HANDLE_BOX (widget)) + if (! GTK_IS_HANDLE_BOX (widget)) { XpThemeElement hndl; diff --git a/modules/engines/ms-windows/xp_theme.c b/modules/engines/ms-windows/xp_theme.c index 5402e1ffd3..8a0f2ef98f 100755 --- a/modules/engines/ms-windows/xp_theme.c +++ b/modules/engines/ms-windows/xp_theme.c @@ -235,10 +235,10 @@ xp_theme_get_handle_by_element (XpThemeElement element) klazz = XP_THEME_CLASS_REBAR; break; - case XP_THEME_ELEMENT_STATUS_GRIPPER: - case XP_THEME_ELEMENT_STATUS_PANE: - klazz = XP_THEME_CLASS_STATUS; - break; + case XP_THEME_ELEMENT_STATUS_GRIPPER: + case XP_THEME_ELEMENT_STATUS_PANE: + klazz = XP_THEME_CLASS_STATUS; + break; case XP_THEME_ELEMENT_TOOLBAR: klazz = XP_THEME_CLASS_TOOLBAR; @@ -249,7 +249,7 @@ xp_theme_get_handle_by_element (XpThemeElement element) klazz = XP_THEME_CLASS_GLOBALS; break; - case XP_THEME_ELEMENT_MENUITEM: + case XP_THEME_ELEMENT_MENU_ITEM: case XP_THEME_ELEMENT_MENU_SEPARATOR: klazz = XP_THEME_CLASS_MENU; break; @@ -621,7 +621,7 @@ xp_theme_map_gtk_state (XpThemeElement element, GtkStateType state) #endif - case XP_THEME_ELEMENT_MENUITEM: + case XP_THEME_ELEMENT_MENU_ITEM: case XP_THEME_ELEMENT_MENU_SEPARATOR: switch(state) { case GTK_STATE_SELECTED: diff --git a/modules/engines/ms-windows/xp_theme.h b/modules/engines/ms-windows/xp_theme.h index d9ca0d7c73..30e2c6d704 100755 --- a/modules/engines/ms-windows/xp_theme.h +++ b/modules/engines/ms-windows/xp_theme.h @@ -84,7 +84,7 @@ typedef enum XP_THEME_ELEMENT_REBAR_GRIPPER_V,
XP_THEME_ELEMENT_REBAR_CHEVRON,
XP_THEME_ELEMENT_TOOLBAR,
- XP_THEME_ELEMENT_MENUITEM,
+ XP_THEME_ELEMENT_MENU_ITEM,
XP_THEME_ELEMENT_MENU_SEPARATOR,
XP_THEME_ELEMENT_STATUS_GRIPPER,
XP_THEME_ELEMENT_STATUS_PANE,
|