From 0727b51dc239d1ad0a749c11a3746d99613b7224 Mon Sep 17 00:00:00 2001 From: Raymond Penners Date: Wed, 22 Oct 2003 18:41:02 +0000 Subject: More code formatting --- modules/engines/ms-windows/wimp_style.c | 4 ++-- modules/engines/ms-windows/xp_theme.c | 12 ++++++------ modules/engines/ms-windows/xp_theme.h | 2 +- 3 files changed, 9 insertions(+), 9 deletions(-) (limited to 'modules') 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, -- cgit v1.2.1