display: use consistent indentation and spacing

This commit is contained in:
William Jon McCann 2010-11-20 18:30:40 -05:00
parent e9804b5adc
commit 88df7df3a9
3 changed files with 2027 additions and 2027 deletions

View file

@ -102,12 +102,12 @@ struct FooScrollAreaPrivate
}; };
enum enum
{ {
VIEWPORT_CHANGED, VIEWPORT_CHANGED,
PAINT, PAINT,
INPUT, INPUT,
LAST_SIGNAL, LAST_SIGNAL,
}; };
enum { enum {
PROP_0, PROP_0,
@ -1424,9 +1424,9 @@ scroll_idle (gpointer data)
viewport.y + info->dy); viewport.y + info->dy);
#endif #endif
get_viewport (area, &new_viewport); get_viewport (area, &new_viewport);
if (viewport.x == new_viewport.x && if (viewport.x == new_viewport.x &&
viewport.y == new_viewport.y && viewport.y == new_viewport.y &&
(info->res_x > 1.0 || (info->res_x > 1.0 ||
info->res_y > 1.0 || info->res_y > 1.0 ||
@ -1439,7 +1439,7 @@ scroll_idle (gpointer data)
return FALSE; return FALSE;
} }
return TRUE; return TRUE;
} }
static void static void

View file

@ -31,11 +31,11 @@ typedef struct FooScrollAreaPrivate FooScrollAreaPrivate;
typedef struct FooScrollAreaEvent FooScrollAreaEvent; typedef struct FooScrollAreaEvent FooScrollAreaEvent;
typedef enum typedef enum
{ {
FOO_BUTTON_PRESS, FOO_BUTTON_PRESS,
FOO_BUTTON_RELEASE, FOO_BUTTON_RELEASE,
FOO_MOTION FOO_MOTION
} FooScrollAreaEventType; } FooScrollAreaEventType;
struct FooScrollAreaEvent struct FooScrollAreaEvent
{ {

View file

@ -1324,7 +1324,7 @@ output_is_aligned (GnomeOutputInfo *output, GArray *edges)
} }
} }
} }
done: done:
return result; return result;
} }