summaryrefslogtreecommitdiff
path: root/pango
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2007-01-16 20:26:43 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-01-16 20:26:43 +0000
commit5d65122f8a714e04b05c52947cedaab090345d37 (patch)
treee807128ae4900c94205fa840c17bb55f4680a1aa /pango
parenta0225fbf560de93c7b41acf9dbf01c9d99173af9 (diff)
downloadpango-5d65122f8a714e04b05c52947cedaab090345d37.tar.gz
*.c, *.h: Removed spaces followed b tabs.
2007-01-16 Behdad Esfahbod <behdad@gnome.org> *.c, *.h: Removed spaces followed b tabs. svn path=/trunk/; revision=2166
Diffstat (limited to 'pango')
-rw-r--r--pango/fonts.c2
-rw-r--r--pango/pango-context.c18
-rw-r--r--pango/pango-engine.h2
-rw-r--r--pango/pango-impl-utils.h10
-rw-r--r--pango/pango-layout.c16
-rw-r--r--pango/pango-tabs.c2
-rw-r--r--pango/pangoatsui.c2
-rw-r--r--pango/pangocairo-private.h2
-rw-r--r--pango/pangofc-fontmap.c6
-rw-r--r--pango/pangowin32.h2
-rw-r--r--pango/pangoxft-font.c4
-rw-r--r--pango/pangoxft-render.c2
12 files changed, 34 insertions, 34 deletions
diff --git a/pango/fonts.c b/pango/fonts.c
index 13041245..91186a09 100644
--- a/pango/fonts.c
+++ b/pango/fonts.c
@@ -709,7 +709,7 @@ pango_font_description_copy_static (const PangoFontDescription *desc)
* being loaded, but still compare %FALSE.)
*
* Return value: %TRUE if the two font descriptions are identical,
- * %FALSE otherwise.
+ * %FALSE otherwise.
**/
gboolean
pango_font_description_equal (const PangoFontDescription *desc1,
diff --git a/pango/pango-context.c b/pango/pango-context.c
index b92f96ff..bed0021e 100644
--- a/pango/pango-context.c
+++ b/pango/pango-context.c
@@ -981,15 +981,15 @@ itemize_state_add_character (ItemizeState *state,
state->item->analysis.gravity = state->resolved_gravity;
/* The level vs. gravity dance:
- * - If gravity is SOUTH, leave level untouched.
- * - If gravity is NORTH, step level one up, to
- * not get mirrored upside-down text.
- * - If gravity is EAST, step up to an even level, as
- * it's a clockwise-rotated layout, so the rotated
- * top is unrotated left.
- * - If gravity is WEST, step up to an odd level, as
- * it's a counter-clockwise-rotated layout, so the rotated
- * top is unrotated right.
+ * - If gravity is SOUTH, leave level untouched.
+ * - If gravity is NORTH, step level one up, to
+ * not get mirrored upside-down text.
+ * - If gravity is EAST, step up to an even level, as
+ * it's a clockwise-rotated layout, so the rotated
+ * top is unrotated left.
+ * - If gravity is WEST, step up to an odd level, as
+ * it's a counter-clockwise-rotated layout, so the rotated
+ * top is unrotated right.
*
* A similar dance is performed in pango-layout.c:
* line_set_resolved_dir(). Keep in synch.
diff --git a/pango/pango-engine.h b/pango/pango-engine.h
index c620db94..ddc9ab16 100644
--- a/pango/pango-engine.h
+++ b/pango/pango-engine.h
@@ -282,7 +282,7 @@ prefix ## _register_type (GTypeModule *module) \
(GClassInitFunc) class_init, \
(GClassFinalizeFunc) NULL, \
NULL, /* class_data */ \
- sizeof (name), \
+ sizeof (name), \
0, /* n_prelocs */ \
(GInstanceInitFunc) instance_init, \
NULL /* value_table */ \
diff --git a/pango/pango-impl-utils.h b/pango/pango-impl-utils.h
index ac6a8e5f..2f71dadf 100644
--- a/pango/pango-impl-utils.h
+++ b/pango/pango-impl-utils.h
@@ -31,11 +31,11 @@ G_BEGIN_DECLS
#define PANGO_DEFINE_TYPE_FULL(name, prefix, \
class_init, instance_init, \
parent_type, abstract) \
-GType \
+GType \
prefix ## _get_type (void) \
{ \
static GType object_type = 0; \
- \
+ \
if (!object_type) \
{ \
static const GTypeInfo object_info = \
@@ -51,10 +51,10 @@ prefix ## _get_type (void) \
(GInstanceInitFunc) instance_init, \
NULL /* value_table */ \
}; \
- \
- object_type = g_type_register_static (parent_type, \
+ \
+ object_type = g_type_register_static (parent_type, \
g_intern_static_string (# name), \
- &object_info, abstract); \
+ &object_info, abstract); \
} \
\
return object_type; \
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 309d6e2e..5988e839 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -3274,14 +3274,14 @@ line_set_resolved_dir (PangoLayoutLine *line,
}
/* The direction vs. gravity dance:
- * - If gravity is SOUTH, leave direction untouched.
- * - If gravity is NORTH, switch direction.
- * - If gravity is EAST, set to LTR, as
- * it's a clockwise-rotated layout, so the rotated
- * top is unrotated left.
- * - If gravity is WEST, set to RTL, as
- * it's a counter-clockwise-rotated layout, so the rotated
- * top is unrotated right.
+ * - If gravity is SOUTH, leave direction untouched.
+ * - If gravity is NORTH, switch direction.
+ * - If gravity is EAST, set to LTR, as
+ * it's a clockwise-rotated layout, so the rotated
+ * top is unrotated left.
+ * - If gravity is WEST, set to RTL, as
+ * it's a counter-clockwise-rotated layout, so the rotated
+ * top is unrotated right.
*
* A similar dance is performed in pango-context.c:
* itemize_state_add_character(). Keep in synch.
diff --git a/pango/pango-tabs.c b/pango/pango-tabs.c
index fbb9037a..705ad0a0 100644
--- a/pango/pango-tabs.c
+++ b/pango/pango-tabs.c
@@ -28,7 +28,7 @@ typedef struct _PangoTab PangoTab;
struct _PangoTab
{
- gint location; /* Offset in pixels of this tab stop
+ gint location; /* Offset in pixels of this tab stop
* from the left margin of the text.
*/
PangoTabAlign alignment; /* Where the tab stop appears relative
diff --git a/pango/pangoatsui.c b/pango/pangoatsui.c
index fda231ee..231c1002 100644
--- a/pango/pangoatsui.c
+++ b/pango/pangoatsui.c
@@ -48,7 +48,7 @@ pango_atsui_font_describe (PangoFont *font)
static PangoCoverage *
pango_atsui_font_get_coverage (PangoFont *font,
- PangoLanguage *language)
+ PangoLanguage *language)
{
PangoCoverage *coverage;
int i;
diff --git a/pango/pangocairo-private.h b/pango/pangocairo-private.h
index 74ab88cf..d739abff 100644
--- a/pango/pangocairo-private.h
+++ b/pango/pangocairo-private.h
@@ -36,7 +36,7 @@ struct _PangoCairoFontMapIface
GTypeInterface g_iface;
void (*set_resolution) (PangoCairoFontMap *fontmap,
- double dpi);
+ double dpi);
double (*get_resolution) (PangoCairoFontMap *fontmap);
PangoRenderer *(*get_renderer) (PangoCairoFontMap *fontmap);
};
diff --git a/pango/pangofc-fontmap.c b/pango/pangofc-fontmap.c
index de73ecf9..7a3985d3 100644
--- a/pango/pangofc-fontmap.c
+++ b/pango/pangofc-fontmap.c
@@ -50,7 +50,7 @@ typedef struct _FontHashKey FontHashKey;
struct _PangoFcFontMapPrivate
{
- GHashTable *fontset_hash; /* Maps PangoFontDescription -> PangoFcPatternSet */
+ GHashTable *fontset_hash; /* Maps PangoFontDescription -> PangoFcPatternSet */
/* pattern_hash is used to make sure we only store one copy of
* each identical pattern. (Speeds up lookup).
@@ -842,8 +842,8 @@ pango_fc_make_pattern (const PangoFontDescription *description,
#ifdef FC_VERTICAL_LAYOUT
FC_VERTICAL_LAYOUT, FcTypeBool, vertical,
#endif
- FC_SIZE, FcTypeDouble, pixel_size * (72. / dpi),
- FC_PIXEL_SIZE, FcTypeDouble, pixel_size,
+ FC_SIZE, FcTypeDouble, pixel_size * (72. / dpi),
+ FC_PIXEL_SIZE, FcTypeDouble, pixel_size,
NULL);
families = g_strsplit (pango_font_description_get_family (description), ",", -1);
diff --git a/pango/pangowin32.h b/pango/pangowin32.h
index 5831393b..18293993 100644
--- a/pango/pangowin32.h
+++ b/pango/pangowin32.h
@@ -98,7 +98,7 @@ void pango_win32_font_cache_free (PangoWin32FontCache *c
HFONT pango_win32_font_cache_load (PangoWin32FontCache *cache,
const LOGFONT *logfont);
void pango_win32_font_cache_unload (PangoWin32FontCache *cache,
- HFONT hfont);
+ HFONT hfont);
PangoFontMap *pango_win32_font_map_for_display (void);
void pango_win32_shutdown_display (void);
diff --git a/pango/pangoxft-font.c b/pango/pangoxft-font.c
index 9fd22d59..73e87104 100644
--- a/pango/pangoxft-font.c
+++ b/pango/pangoxft-font.c
@@ -399,9 +399,9 @@ xft_font_get_font (PangoFont *font)
{
gchar *name = pango_font_description_to_string (fcfont->description);
g_warning ("Cannot open font file for font %s", name);
- g_free (name);
+ g_free (name);
- load_fallback_font (xfont);
+ load_fallback_font (xfont);
}
}
diff --git a/pango/pangoxft-render.c b/pango/pangoxft-render.c
index 82333e2b..efaae64e 100644
--- a/pango/pangoxft-render.c
+++ b/pango/pangoxft-render.c
@@ -594,7 +594,7 @@ pango_xft_renderer_real_composite_glyphs (PangoXftRenderer *xftrenderer,
PangoColor *color = pango_renderer_get_color (PANGO_RENDERER (xftrenderer),
PANGO_RENDER_PART_FOREGROUND);
if (!color)
- color = &xftrenderer->priv->default_color;
+ color = &xftrenderer->priv->default_color;
xft_color.color.red = color->red;
xft_color.color.green = color->green;