summaryrefslogtreecommitdiff
path: root/pango-view
diff options
context:
space:
mode:
Diffstat (limited to 'pango-view')
-rw-r--r--pango-view/viewer-main.c4
-rw-r--r--pango-view/viewer-pangocairo.c6
-rw-r--r--pango-view/viewer-render.c4
-rw-r--r--pango-view/viewer-win32.c2
-rw-r--r--pango-view/viewer-x.h4
5 files changed, 10 insertions, 10 deletions
diff --git a/pango-view/viewer-main.c b/pango-view/viewer-main.c
index 4ec70f02..f3d93df4 100644
--- a/pango-view/viewer-main.c
+++ b/pango-view/viewer-main.c
@@ -104,7 +104,7 @@ main (int argc,
title = get_options_string ();
if (view->display)
- {
+ {
gpointer window = NULL;
gpointer state = NULL;
@@ -124,7 +124,7 @@ main (int argc,
view->destroy_window (instance, window);
}
else
- {
+ {
int fd;
FILE *stream;
const gchar *display_argv[5] = {"display", "-title", "%s", "-"};
diff --git a/pango-view/viewer-pangocairo.c b/pango-view/viewer-pangocairo.c
index 50eae22f..10aaccc4 100644
--- a/pango-view/viewer-pangocairo.c
+++ b/pango-view/viewer-pangocairo.c
@@ -99,7 +99,7 @@ typedef struct
static gpointer
pangocairo_view_create_surface (gpointer instance,
- int width,
+ int width,
int height)
{
CairoViewer *c = (CairoViewer *) instance;
@@ -220,7 +220,7 @@ render_callback (PangoLayout *layout,
cairo_set_source_rgba (cr, 1.0, 0.5, 0.0, 0.5);
iter = pango_layout_get_iter (layout);
do
- {
+ {
PangoLayoutLine *line = pango_layout_iter_get_line (iter);
double width = (double)logical.width / PANGO_SCALE;
@@ -241,7 +241,7 @@ render_callback (PangoLayout *layout,
cairo_close_path (cr);
cairo_fill (cr);
cairo_restore (cr);
- }
+ }
while (pango_layout_iter_next_line (iter));
pango_layout_iter_free (iter);
cairo_restore (cr);
diff --git a/pango-view/viewer-render.c b/pango-view/viewer-render.c
index 86bf04c5..6e8bc4a9 100644
--- a/pango-view/viewer-render.c
+++ b/pango-view/viewer-render.c
@@ -286,7 +286,7 @@ do_output (PangoContext *context,
if (supports_matrix)
pango_matrix_rotate (&matrix, opt_rotate);
else
- g_printerr ("The backend does not support rotated text\n");
+ g_printerr ("The backend does not support rotated text\n");
}
pango_context_set_base_gravity (context, opt_gravity);
@@ -623,7 +623,7 @@ parse_options (int argc, char *argv[])
{
opt_viewer = *viewers;
if (!opt_viewer)
- fail ("No viewer backend found");
+ fail ("No viewer backend found");
}
/* if wrap mode is set then width must be set */
diff --git a/pango-view/viewer-win32.c b/pango-view/viewer-win32.c
index 96449931..23a7dac5 100644
--- a/pango-view/viewer-win32.c
+++ b/pango-view/viewer-win32.c
@@ -497,7 +497,7 @@ fill_styles_combo (GtkWidget *combo)
for (i = 0; i < n_families; i++)
{
if (0 == g_strcasecmp(pango_font_family_get_name(families[i]), family_name))
- {
+ {
family = families[i];
break;
}
diff --git a/pango-view/viewer-x.h b/pango-view/viewer-x.h
index e9e965be..28f61f6b 100644
--- a/pango-view/viewer-x.h
+++ b/pango-view/viewer-x.h
@@ -39,14 +39,14 @@ typedef struct
extern const PangoViewer x_viewer;
void x_view_init (gpointer instance,
- const PangoViewer *klass);
+ const PangoViewer *klass);
gpointer x_view_create (const PangoViewer *klass);
void x_view_destroy (gpointer instance);
gpointer x_view_create_surface (gpointer instance,
- int width,
+ int width,
int height);
void x_view_destroy_surface (gpointer instance,