[gtkhtml] Fix excessive whitespace.
- From: Matthew Barnes <mbarnes src gnome org>
- To: svn-commits-list gnome org
- Subject: [gtkhtml] Fix excessive whitespace.
- Date: Mon, 13 Jul 2009 03:21:12 +0000 (UTC)
commit 86301fabeb44f87931ffdf3f59e6c5a663d3511a
Author: Matthew Barnes <mbarnes redhat com>
Date: Sun Jul 12 23:19:04 2009 -0400
Fix excessive whitespace.
a11y/cell.c | 1 -
a11y/hyperlink.c | 2 --
a11y/object.c | 9 ---------
a11y/table.c | 3 ---
a11y/text.c | 8 --------
components/editor/gtkhtml-color-combo.c | 1 -
gtkhtml/gtkhtml-properties.c | 1 -
gtkhtml/gtkhtml-stream.c | 4 ----
gtkhtml/gtkhtml.c | 11 -----------
gtkhtml/htmlbutton.c | 1 -
gtkhtml/htmlcheckbox.c | 1 -
gtkhtml/htmlclue.c | 1 -
gtkhtml/htmlclueflow.c | 3 ---
gtkhtml/htmlclueh.c | 1 -
gtkhtml/htmlcluev.c | 1 -
gtkhtml/htmlcolorset.c | 1 -
gtkhtml/htmldrawqueue.c | 9 ---------
gtkhtml/htmlembedded.c | 1 -
gtkhtml/htmlembedded.h | 1 -
gtkhtml/htmlengine-edit-clueflowstyle.c | 1 -
gtkhtml/htmlengine-edit-cursor.c | 1 -
gtkhtml/htmlengine-edit-cut-and-paste.c | 1 -
gtkhtml/htmlengine-edit-fontstyle.c | 1 -
gtkhtml/htmlengine-edit.c | 1 -
gtkhtml/htmlengine-print.c | 1 -
gtkhtml/htmlengine.c | 25 -------------------------
gtkhtml/htmlenumutils.c | 1 -
gtkhtml/htmlfontmanager.c | 1 -
gtkhtml/htmlform.h | 2 --
gtkhtml/htmlframe.c | 2 --
gtkhtml/htmlframe.h | 3 ---
gtkhtml/htmlframeset.c | 9 ---------
gtkhtml/htmlframeset.h | 1 -
gtkhtml/htmlgdkpainter.c | 2 --
gtkhtml/htmliframe.c | 1 -
gtkhtml/htmliframe.h | 1 -
gtkhtml/htmlimage.c | 1 -
gtkhtml/htmlmap.c | 1 -
gtkhtml/htmlmap.h | 1 -
gtkhtml/htmlmarshal.c | 2 --
gtkhtml/htmlobject.c | 3 ---
gtkhtml/htmlpainter.c | 1 -
gtkhtml/htmlpainter.h | 1 -
gtkhtml/htmlrule.c | 10 ----------
gtkhtml/htmlselect.c | 1 -
gtkhtml/htmlshape.c | 2 --
gtkhtml/htmlstyle.c | 1 -
gtkhtml/htmltable.c | 2 --
gtkhtml/htmltablecell.c | 2 --
gtkhtml/htmltext.c | 6 ------
gtkhtml/htmltextslave.h | 1 -
gtkhtml/htmltokenizer.c | 7 -------
gtkhtml/htmlundo.c | 1 -
gtkhtml/htmlurl.c | 1 -
gtkhtml/test-stress.c | 1 -
gtkhtml/test-suite.c | 1 -
56 files changed, 0 insertions(+), 160 deletions(-)
---
diff --git a/a11y/cell.c b/a11y/cell.c
index 38100cc..4593ee8 100644
--- a/a11y/cell.c
+++ b/a11y/cell.c
@@ -52,7 +52,6 @@ html_a11y_cell_get_type (void)
NULL /* value cell */
};
-
type = g_type_register_static (G_TYPE_HTML_A11Y, "HTMLA11YCell", &tinfo, 0);
}
diff --git a/a11y/hyperlink.c b/a11y/hyperlink.c
index b757ff8..4a98f39 100644
--- a/a11y/hyperlink.c
+++ b/a11y/hyperlink.c
@@ -99,7 +99,6 @@ html_a11y_hyper_link_finalize (GObject *obj)
G_OBJECT_CLASS (parent_class)->finalize (obj);
}
-
static gint
html_a11y_hyper_link_get_start_index (AtkHyperlink *link)
{
@@ -109,7 +108,6 @@ html_a11y_hyper_link_get_start_index (AtkHyperlink *link)
return a ? a->start_offset : -1;
}
-
static gint
html_a11y_hyper_link_get_end_index (AtkHyperlink *link)
{
diff --git a/a11y/object.c b/a11y/object.c
index 211a9e8..6de0c5a 100644
--- a/a11y/object.c
+++ b/a11y/object.c
@@ -38,7 +38,6 @@ static void gtk_html_a11y_init (GtkHTMLA11Y *a11y);
static GtkAccessibleClass *parent_class = NULL;
-
static gint
get_n_actions (AtkAction *action)
{
@@ -63,8 +62,6 @@ action_get_name (AtkAction *action, gint i)
return NULL;
}
-
-
static gboolean
do_action (AtkAction * action, gint i)
{
@@ -83,7 +80,6 @@ do_action (AtkAction * action, gint i)
if (!GTK_WIDGET_SENSITIVE (widget) || !GTK_WIDGET_VISIBLE (widget))
return FALSE;
-
switch (i) {
case 0:
gtk_widget_grab_focus (widget);
@@ -169,7 +165,6 @@ gtk_html_a11y_initialize (AtkObject *obj, gpointer data)
g_object_set_data (G_OBJECT (obj), GTK_HTML_ID, data);
}
-
static gint
gtk_html_a11y_get_n_children (AtkObject *accessible)
{
@@ -202,7 +197,6 @@ gtk_html_a11y_get_n_children (AtkObject *accessible)
n_children = html_object_get_n_children (GTK_HTML_A11Y_GTKHTML (accessible)->engine->clue);
}
-
/* printf ("gtk_html_a11y_get_n_children resolves to %d\n", n_children); */
return n_children;
@@ -310,7 +304,6 @@ gtk_html_a11y_grab_focus_cb(GtkWidget * widget)
{
AtkObject *focus_object, *obj, *clue;
-
focus_object = gtk_html_a11y_get_focus_object (widget);
if (focus_object == NULL)
return;
@@ -351,10 +344,8 @@ gtk_html_a11y_insert_object_cb (GtkWidget * widget, gint pos, gint len)
{
AtkObject * a11y, *obj;
-
HTMLCursor *cursor = GTK_HTML (widget)->engine->cursor;
-
obj = gtk_widget_get_accessible (widget);
a11y = gtk_html_a11y_get_focus_object (widget);
g_return_if_fail (a11y != NULL);
diff --git a/a11y/table.c b/a11y/table.c
index 0a9e51b..caaa385 100644
--- a/a11y/table.c
+++ b/a11y/table.c
@@ -49,7 +49,6 @@ static gint html_a11y_table_get_row_extent_at (AtkTable *table, gint row, gint c
static AtkObject * html_a11y_table_get_column_header (AtkTable *table, gint column);
static AtkObject * html_a11y_table_get_row_header (AtkTable *table, gint row);
-
static AtkObjectClass *parent_class = NULL;
GType
@@ -191,7 +190,6 @@ html_a11y_table_ref_at (AtkTable *table, gint row, gint column)
HTMLTable *to = HTML_TABLE (HTML_A11Y_HTML (table));
HTMLTableCell *cell;
-
if (!is_valid (ATK_OBJECT (table)))
return NULL;
@@ -304,7 +302,6 @@ html_a11y_table_get_row_extent_at (AtkTable *table, gint row, gint column)
return to->cells [row][column]->rspan;
}
-
static AtkObject *
html_a11y_table_get_column_header (AtkTable *table, gint column)
{
diff --git a/a11y/text.c b/a11y/text.c
index 5e471a9..7b5c158 100644
--- a/a11y/text.c
+++ b/a11y/text.c
@@ -83,7 +83,6 @@ static AtkHyperlink * html_a11y_text_get_link (AtkHypertext *hypertext, gint lin
static gint html_a11y_text_get_n_links (AtkHypertext *hypertext);
static gint html_a11y_text_get_link_index (AtkHypertext *hypertext, gint char_index);
-
/* Editable text interface. */
static void atk_editable_text_interface_init (AtkEditableTextIface *iface);
static void html_a11y_text_set_text_contents (AtkEditableText *text,
@@ -149,7 +148,6 @@ atk_action_interface_init (AtkActionIface *iface)
iface->get_name = action_get_name;
}
-
GType
html_a11y_text_get_type (void)
{
@@ -211,7 +209,6 @@ html_a11y_text_get_type (void)
return type;
}
-
static void
atk_component_interface_init (AtkComponentIface *iface)
{
@@ -350,7 +347,6 @@ html_a11y_text_ref_state_set (AtkObject *accessible)
* AtkComponent interface
*/
-
static void
html_a11y_text_get_extents (AtkComponent *component, gint *x, gint *y, gint *width, gint *height, AtkCoordType coord_type)
{
@@ -398,7 +394,6 @@ html_a11y_text_get_extents (AtkComponent *component, gint *x, gint *y, gint *wid
*y -= top_engine->y_offset;
}
-
static void
html_a11y_text_get_size (AtkComponent *component, gint *width, gint *height)
{
@@ -731,7 +726,6 @@ html_a11y_text_set_selection (AtkText *text, gint selection_num, gint start_offs
return html_a11y_text_add_selection (text, start_offset, end_offset);
}
-
/* Most of the code of the following function is copied from */
/* libgail-util/gailmisc.c gail_misc_layout_get_run_attributes */
@@ -773,7 +767,6 @@ html_a11y_text_get_run_attributes (AtkText *text,
attr = html_text_prepare_attrs (t, e->painter);
g_return_val_if_fail (attr, NULL);
-
len = g_utf8_strlen (textstring, -1);
iter = pango_attr_list_get_iterator (attr);
@@ -1140,7 +1133,6 @@ html_a11y_text_paste_text (AtkEditableText *text,
g_signal_emit_by_name(html, "grab_focus");
}
-
static void
atk_hyper_text_interface_init (AtkHypertextIface *iface)
{
diff --git a/components/editor/gtkhtml-color-combo.c b/components/editor/gtkhtml-color-combo.c
index 7404633..2f4d397 100644
--- a/components/editor/gtkhtml-color-combo.c
+++ b/components/editor/gtkhtml-color-combo.c
@@ -377,7 +377,6 @@ color_combo_swatch_release_event_cb (GtkhtmlColorCombo *combo,
return FALSE;
}
-
static void
color_combo_toggled_cb (GtkhtmlColorCombo *combo)
{
diff --git a/gtkhtml/gtkhtml-properties.c b/gtkhtml/gtkhtml-properties.c
index 80b17ad..6f30f8b 100644
--- a/gtkhtml/gtkhtml-properties.c
+++ b/gtkhtml/gtkhtml-properties.c
@@ -112,7 +112,6 @@ gtk_html_class_properties_load (GtkHTMLClassProperties *p, GConfClient *client)
gconf_client_set_ ## t (client, key, p->prop, NULL); \
g_free (key); }
-
void
gtk_html_class_properties_update (GtkHTMLClassProperties *p, GConfClient *client, GtkHTMLClassProperties *old)
{
diff --git a/gtkhtml/gtkhtml-stream.c b/gtkhtml/gtkhtml-stream.c
index e7e13ac..fd394bc 100644
--- a/gtkhtml/gtkhtml-stream.c
+++ b/gtkhtml/gtkhtml-stream.c
@@ -203,7 +203,6 @@ gtk_html_stream_log_new (GtkHTML *html, GtkHTMLStream *stream)
log = g_new (GtkHTMLLog, 1);
log->stream = stream;
-
fname = g_strdup_printf ("gtkhtml.log.%d.html", log_num);
log->file = fopen (fname, "w+");
g_free (fname);
@@ -219,6 +218,3 @@ gtk_html_stream_log_new (GtkHTML *html, GtkHTMLStream *stream)
return new_stream;
}
-
-
-
diff --git a/gtkhtml/gtkhtml.c b/gtkhtml/gtkhtml.c
index 6a04fb0..8a254c2 100644
--- a/gtkhtml/gtkhtml.c
+++ b/gtkhtml/gtkhtml.c
@@ -411,7 +411,6 @@ idle_handler (gpointer data)
return FALSE;
}
-
static void
gtk_html_adjust_cursor_position (GtkHTML *html)
{
@@ -434,7 +433,6 @@ gtk_html_adjust_cursor_position (GtkHTML *html)
}
-
static void
queue_draw (GtkHTML *html)
{
@@ -1004,7 +1002,6 @@ style_set (GtkWidget *widget, GtkStyle *previous_style)
html_engine_refresh_fonts (engine);
}
-
html_colorset_set_style (engine->defaultSettings->color_set, widget);
html_colorset_set_unchanged (engine->settings->color_set,
engine->defaultSettings->color_set);
@@ -1747,7 +1744,6 @@ shift_to_iframe_parent (GtkWidget *widget, gint *x, gint *y)
widget = GTK_HTML (widget)->iframe_parent;
-
}
return widget;
@@ -1787,7 +1783,6 @@ motion_notify_event (GtkWidget *widget,
return TRUE;
}
-
static gboolean
toplevel_unmap (GtkWidget *widget, GdkEvent *event, GtkHTML *html)
{
@@ -3068,7 +3063,6 @@ gtk_html_class_init (GtkHTMLClass *klass)
G_TYPE_INT, G_TYPE_INT);
object_class->destroy = destroy;
-
#ifdef USE_PROPS
gobject_class->get_property = gtk_html_get_property;
gobject_class->set_property = gtk_html_set_property;
@@ -3102,7 +3096,6 @@ gtk_html_class_init (GtkHTMLClass *klass)
NULL,
G_PARAM_WRITABLE | G_PARAM_READABLE));
-
#endif
gtk_widget_class_install_style_property (widget_class,
@@ -3143,7 +3136,6 @@ gtk_html_class_init (GtkHTMLClass *klass)
GDK_TYPE_COLOR,
G_PARAM_READABLE));
-
widget_class->realize = realize;
widget_class->unrealize = unrealize;
widget_class->style_set = style_set;
@@ -3612,7 +3604,6 @@ gtk_html_allow_selection (GtkHTML *html,
html->allow_selection = allow;
}
-
/**
* gtk_html_begin_full:
* @html: the GtkHTML widget to operate on.
@@ -4661,7 +4652,6 @@ gtk_html_get_default_engine(GtkHTML *html)
return html_engine_get_engine_type( html->engine);
}
-
void
gtk_html_set_default_content_type (GtkHTML *html, const gchar *content_type)
{
@@ -4920,7 +4910,6 @@ cursor_move (GtkHTML *html, GtkDirectionType dir_type, GtkHTMLCursorSkipType ski
line_height = GTK_WIDGET (html)->allocation.height > (3 * get_line_height (html))
? get_line_height (html) : 0;
-
switch (dir_type) {
case GTK_DIR_UP:
case GTK_DIR_LEFT:
diff --git a/gtkhtml/htmlbutton.c b/gtkhtml/htmlbutton.c
index f92b13f..c241e41 100644
--- a/gtkhtml/htmlbutton.c
+++ b/gtkhtml/htmlbutton.c
@@ -87,7 +87,6 @@ encode (HTMLEmbedded *e,const gchar *codepage)
return ptr;
}
-
void
html_button_type_init (void)
{
diff --git a/gtkhtml/htmlcheckbox.c b/gtkhtml/htmlcheckbox.c
index be604aa..aacf1ef 100644
--- a/gtkhtml/htmlcheckbox.c
+++ b/gtkhtml/htmlcheckbox.c
@@ -83,7 +83,6 @@ html_checkbox_class_init (HTMLCheckBoxClass *klass,
HTMLEmbeddedClass *element_class;
HTMLObjectClass *object_class;
-
element_class = HTML_EMBEDDED_CLASS (klass);
object_class = HTML_OBJECT_CLASS (klass);
diff --git a/gtkhtml/htmlclue.c b/gtkhtml/htmlclue.c
index 4f4e1f7..351940b 100644
--- a/gtkhtml/htmlclue.c
+++ b/gtkhtml/htmlclue.c
@@ -37,7 +37,6 @@ static HTMLObjectClass *parent_class = NULL;
static void set_parent (HTMLObject *o, HTMLObject *tail, HTMLObject *parent);
-
/* HTMLObject methods. */
static void
diff --git a/gtkhtml/htmlclueflow.c b/gtkhtml/htmlclueflow.c
index cc73c4c..4631bdd 100644
--- a/gtkhtml/htmlclueflow.c
+++ b/gtkhtml/htmlclueflow.c
@@ -888,7 +888,6 @@ update_line_positions (HTMLObject *clue, HTMLObject *begin, HTMLObject *end, gin
}
}
-
static HTMLObject *
layout_line (HTMLObject *o, HTMLPainter *painter, HTMLObject *begin,
GList **changed_objs, gboolean *leaf_children_changed_size,
@@ -1288,7 +1287,6 @@ draw_quotes (HTMLObject *self, HTMLPainter *painter,
cur = cur->next;
}
-
/* draw "> " quote characters in the plain case */
html_painter_set_font_style (painter, GTK_HTML_FONT_STYLE_SIZE_3 | GTK_HTML_FONT_STYLE_FIXED);
html_painter_set_font_face (painter, NULL);
@@ -1520,7 +1518,6 @@ get_list_start_tag (HTMLClueFlow *self)
return NULL;
}
-
static const gchar *
get_start_tag (HTMLClueFlow *self)
{
diff --git a/gtkhtml/htmlclueh.c b/gtkhtml/htmlclueh.c
index 20dc452..64c1841 100644
--- a/gtkhtml/htmlclueh.c
+++ b/gtkhtml/htmlclueh.c
@@ -93,7 +93,6 @@ html_clueh_real_calc_size (HTMLObject *clue, HTMLPainter *painter, GList **chang
d = obj->descent;
}
-
switch (HTML_CLUE (clue)->valign) {
case HTML_VALIGN_TOP:
clue->ascent = a + d;
diff --git a/gtkhtml/htmlcluev.c b/gtkhtml/htmlcluev.c
index e13b8eb..ee8c120 100644
--- a/gtkhtml/htmlcluev.c
+++ b/gtkhtml/htmlcluev.c
@@ -205,7 +205,6 @@ html_cluev_do_layout (HTMLObject *o, HTMLPainter *painter, gboolean calc_size, G
o->ascent = clue->curr->y;
lmargin = get_lmargin (o, painter);
-
if (calc_size)
changed |= html_object_calc_size (clue->curr, painter, changed_objs);
diff --git a/gtkhtml/htmlcolorset.c b/gtkhtml/htmlcolorset.c
index 6ca12e2..da8cbf0 100644
--- a/gtkhtml/htmlcolorset.c
+++ b/gtkhtml/htmlcolorset.c
@@ -54,7 +54,6 @@ html_colorset_new (GtkWidget *w)
return s;
}
-
void
html_colorset_destroy (HTMLColorSet *set)
{
diff --git a/gtkhtml/htmldrawqueue.c b/gtkhtml/htmldrawqueue.c
index 414e27c..ccf3079 100644
--- a/gtkhtml/htmldrawqueue.c
+++ b/gtkhtml/htmldrawqueue.c
@@ -269,7 +269,6 @@ html_draw_queue_flush (HTMLDrawQueue *queue)
clear_element_destroy (clear_elem);
}
-
/* Draw objects. */
if (vis) {
@@ -285,11 +284,3 @@ html_draw_queue_flush (HTMLDrawQueue *queue)
html_draw_queue_clear (queue);
}
-
-
-
-
-
-
-
-
diff --git a/gtkhtml/htmlembedded.c b/gtkhtml/htmlembedded.c
index 9cc6957..b585ea2 100644
--- a/gtkhtml/htmlembedded.c
+++ b/gtkhtml/htmlembedded.c
@@ -348,7 +348,6 @@ html_embedded_init (HTMLEmbedded *element,
element->changed_id = 0;
}
-
static gboolean
html_embedded_grab_cursor(GtkWidget *eb, GdkEvent *event)
{
diff --git a/gtkhtml/htmlembedded.h b/gtkhtml/htmlembedded.h
index 9a2f0d5..b8d4aba 100644
--- a/gtkhtml/htmlembedded.h
+++ b/gtkhtml/htmlembedded.h
@@ -43,7 +43,6 @@ struct _HTMLEmbedded {
struct _HTMLEmbeddedClass {
HTMLObjectClass object_class;
-
void (*reset) (HTMLEmbedded *element);
gchar *(*encode) (HTMLEmbedded *element, const gchar * codepage);
void (*reparent) (HTMLEmbedded *element, GtkWidget *new_parent);
diff --git a/gtkhtml/htmlengine-edit-clueflowstyle.c b/gtkhtml/htmlengine-edit-clueflowstyle.c
index d4ffb3d..ba3829f 100644
--- a/gtkhtml/htmlengine-edit-clueflowstyle.c
+++ b/gtkhtml/htmlengine-edit-clueflowstyle.c
@@ -108,7 +108,6 @@ get_props (HTMLClueFlow *clueflow)
return props;
}
-
static void
set_props (HTMLEngine *engine,
HTMLClueFlow *clueflow,
diff --git a/gtkhtml/htmlengine-edit-cursor.c b/gtkhtml/htmlengine-edit-cursor.c
index 037e2a5..926856c 100644
--- a/gtkhtml/htmlengine-edit-cursor.c
+++ b/gtkhtml/htmlengine-edit-cursor.c
@@ -315,7 +315,6 @@ html_engine_draw_cursor_in_area (HTMLEngine *engine,
y = 0;
}
-
html_object_get_cursor (obj, engine->painter, offset, &x1, &y1, &x2, &y2);
while (obj) {
if (html_object_is_frame(obj)) {
diff --git a/gtkhtml/htmlengine-edit-cut-and-paste.c b/gtkhtml/htmlengine-edit-cut-and-paste.c
index 317d86b..6464823 100644
--- a/gtkhtml/htmlengine-edit-cut-and-paste.c
+++ b/gtkhtml/htmlengine-edit-cut-and-paste.c
@@ -1923,7 +1923,6 @@ html_engine_delete (HTMLEngine *e)
html_cursor_destroy (end);
html_cursor_jump_to_position (e->cursor, e, start_position);
-
}
html_undo_level_end (e->undo);
}
diff --git a/gtkhtml/htmlengine-edit-fontstyle.c b/gtkhtml/htmlengine-edit-fontstyle.c
index 737c511..c3c9064 100644
--- a/gtkhtml/htmlengine-edit-fontstyle.c
+++ b/gtkhtml/htmlengine-edit-fontstyle.c
@@ -55,7 +55,6 @@ get_font_style_from_selection (HTMLEngine *engine)
engine->mark, engine->mark->position,
engine->cursor, engine->cursor->position); */
-
style = GTK_HTML_FONT_STYLE_DEFAULT;
conflicts = GTK_HTML_FONT_STYLE_DEFAULT;
first = TRUE;
diff --git a/gtkhtml/htmlengine-edit.c b/gtkhtml/htmlengine-edit.c
index 3c4e60d..a746e0b 100644
--- a/gtkhtml/htmlengine-edit.c
+++ b/gtkhtml/htmlengine-edit.c
@@ -675,7 +675,6 @@ html_engine_space_and_fill_line (HTMLEngine *e)
g_assert (e->cursor->object);
html_undo_level_begin (e->undo, "insert and fill", "reverse insert and fill");
-
html_engine_disable_selection (e);
html_engine_freeze (e);
html_engine_insert_text (e, " ", 1);
diff --git a/gtkhtml/htmlengine-print.c b/gtkhtml/htmlengine-print.c
index 99bb109..17237e6 100644
--- a/gtkhtml/htmlengine-print.c
+++ b/gtkhtml/htmlengine-print.c
@@ -267,7 +267,6 @@ html_engine_print_set_min_split_index (HTMLEngine *engine, gdouble index)
engine->min_split_index = index;
}
-
typedef struct {
HTMLEngine *engine;
HTMLPainter *painter;
diff --git a/gtkhtml/htmlengine.c b/gtkhtml/htmlengine.c
index f783a6c..8e2323a 100644
--- a/gtkhtml/htmlengine.c
+++ b/gtkhtml/htmlengine.c
@@ -26,7 +26,6 @@
/* RULE: You should never create a new flow without inserting anything in it.
If `e->flow' is not NULL, it must contain something. */
-
#include <config.h>
#include "gtkhtml-compat.h"
@@ -259,7 +258,6 @@ html_element_new (HTMLEngine *e, const gchar *name)
element = g_new0 (HTMLElement, 1);
element->id = g_quark_from_string (name);
-
return element;
}
@@ -588,7 +586,6 @@ static HTMLFontFace *
current_font_face (HTMLEngine *e)
{
-
HTMLElement *span;
GList *item;
@@ -716,7 +713,6 @@ pop_clueflow_style (HTMLEngine *e)
html_stack_pop (e->clueflow_style_stack);
}
-
/* Utility functions. */
@@ -799,7 +795,6 @@ finish_flow (HTMLEngine *e, HTMLObject *clue) {
close_flow (e, clue);
}
-
static void
close_flow (HTMLEngine *e, HTMLObject *clue)
{
@@ -918,7 +913,6 @@ insert_text (HTMLEngine *e,
} else
e->eat_space = FALSE;
-
if (e->url != NULL || e->target != NULL)
create_link = TRUE;
else
@@ -1160,7 +1154,6 @@ pop_element_by_type (HTMLEngine *e, HTMLDisplayType display)
}
}
-
static void
pop_element (HTMLEngine *e, const gchar *name)
{
@@ -1580,7 +1573,6 @@ element_parse_object (HTMLEngine *e, HTMLObject *clue, const gchar *attr)
g_return_if_fail (HTML_IS_ENGINE (e));
-
/* this might have to do something different for form object
elements - check the spec MPZ */
@@ -1653,7 +1645,6 @@ element_parse_object (HTMLEngine *e, HTMLObject *clue, const gchar *attr)
g_free (name);
}
-
/* Frame parsers */
static void
element_parse_noframe (HTMLEngine *e, HTMLObject *clue, const gchar *str )
@@ -1927,7 +1918,6 @@ element_parse_a (HTMLEngine *e, HTMLObject *clue, const gchar *str)
html_element_push (element, e, clue);
}
-
/* block parsing */
static void
block_end_clueflow_style (HTMLEngine *e,
@@ -2258,7 +2248,6 @@ element_parse_data (HTMLEngine *e, HTMLObject *clue, const gchar *str)
g_free (key);
}
-
static void
form_begin (HTMLEngine *e,
HTMLObject *clue,
@@ -2511,7 +2500,6 @@ element_parse_frame (HTMLEngine *e, HTMLObject *clue, const gchar *str)
if (scroll != GTK_POLICY_AUTOMATIC)
html_frame_set_scrolling (HTML_FRAME (frame), scroll);
-
html_element_free (element);
}
@@ -2528,7 +2516,6 @@ element_parse_hr (HTMLEngine *e, HTMLObject *clue, const gchar *str)
gchar *value;
HTMLLength *len;
-
element = html_element_new_parse (e, str);
if (html_element_get_attr (element, "align", &value))
@@ -2562,7 +2549,6 @@ element_parse_hr (HTMLEngine *e, HTMLObject *clue, const gchar *str)
if (len)
size = len->val;
-
append_element (e, clue, html_rule_new (length, percent, size, shade, align));
close_flow (e, clue);
@@ -2570,7 +2556,6 @@ element_parse_hr (HTMLEngine *e, HTMLObject *clue, const gchar *str)
html_element_free (element);
}
-
static void
block_end_heading (HTMLEngine *e,
HTMLObject *clue,
@@ -3368,7 +3353,6 @@ element_parse_table (HTMLEngine *e, HTMLObject *clue, const gchar *str)
break;
}
-
}
static void
@@ -3434,7 +3418,6 @@ element_parse_tr (HTMLEngine *e, HTMLObject *clue, const gchar *str)
else
element->style = html_style_add_text_valign (element->style, HTML_VALIGN_MIDDLE);
-
if (html_element_get_attr (element, "align", &value))
element->style = html_style_add_text_align (element->style, parse_halign (value, HTML_HALIGN_NONE));
@@ -3951,7 +3934,6 @@ dispatch_table_new (HTMLDispatchEntry *entry)
return table;
}
-
static void
parse_one_token (HTMLEngine *e, HTMLObject *clue, const gchar *str)
{
@@ -4516,7 +4498,6 @@ html_engine_ensure_editable (HTMLEngine *engine)
HTMLObject *child;
g_return_if_fail (HTML_IS_ENGINE (engine));
-
cluev = engine->clue;
if (cluev == NULL)
engine->clue = engine->parser_clue = cluev = html_cluev_new (0, 0, 100);
@@ -4910,7 +4891,6 @@ html_engine_get_object_base (HTMLEngine *e, HTMLObject *o)
html_object_forall (o, e, find_engine, &parent_engine);
-
}
#endif
@@ -5167,7 +5147,6 @@ html_engine_block_redraw (HTMLEngine *e)
}
}
-
void
html_engine_unblock_redraw (HTMLEngine *e)
{
@@ -5675,7 +5654,6 @@ html_engine_freeze (HTMLEngine *engine)
gdk_window_process_updates (HTML_GDK_PAINTER (engine->painter)->window, FALSE);
}
-
html_engine_flush_draw_queue (engine);
DF (printf ("html_engine_freeze %d\n", engine->freeze_count); fflush (stdout));
@@ -5727,7 +5705,6 @@ html_engine_intersection (HTMLEngine *e, gint *x1, gint *y1, gint *x2, gint *y2)
return FALSE;
}
-
*x1 = paint.x;
*x2 = paint.x + paint.width;
*y1 = paint.y;
@@ -5776,7 +5753,6 @@ get_changed_objects (HTMLEngine *e, GdkRegion *region, GList *changed_objs)
/* printf ("draw_changed_objects END\n"); */
}
-
struct HTMLEngineExpose {
GdkRectangle area;
gboolean expose;
@@ -6438,7 +6414,6 @@ html_engine_set_object_data (HTMLEngine *e, HTMLObject *o)
g_hash_table_foreach (t, set_object_data, o);
}
-
HTMLEngine *
html_engine_get_top_html_engine (HTMLEngine *e)
{
diff --git a/gtkhtml/htmlenumutils.c b/gtkhtml/htmlenumutils.c
index f96fc32..4048334 100644
--- a/gtkhtml/htmlenumutils.c
+++ b/gtkhtml/htmlenumutils.c
@@ -40,7 +40,6 @@ html_valign_name (HTMLVAlignType va)
}
}
-
const gchar *
html_halign_name (HTMLHAlignType ha)
{
diff --git a/gtkhtml/htmlfontmanager.c b/gtkhtml/htmlfontmanager.c
index 97b5b94..9a1d6ea 100644
--- a/gtkhtml/htmlfontmanager.c
+++ b/gtkhtml/htmlfontmanager.c
@@ -259,7 +259,6 @@ html_font_manager_get_attr (gchar *font_name, gint n)
return g_strdup ("Unknown");
}
-
static gboolean
get_points (HTMLFontManager *manager, GtkHTMLFontStyle style)
{
diff --git a/gtkhtml/htmlform.h b/gtkhtml/htmlform.h
index 5a03c55..2e45677 100644
--- a/gtkhtml/htmlform.h
+++ b/gtkhtml/htmlform.h
@@ -53,5 +53,3 @@ void html_form_set_engine (HTMLForm *form, HTMLEngine *engine);
#endif /* _HTMLFORM_H_ */
-
-
diff --git a/gtkhtml/htmlframe.c b/gtkhtml/htmlframe.c
index dfe0431..868854c 100644
--- a/gtkhtml/htmlframe.c
+++ b/gtkhtml/htmlframe.c
@@ -597,5 +597,3 @@ html_frame_class_init (HTMLFrameClass *klass,
embedded_class->reparent = reparent;
}
-
-
diff --git a/gtkhtml/htmlframe.h b/gtkhtml/htmlframe.h
index df55e4a..a908ae3 100644
--- a/gtkhtml/htmlframe.h
+++ b/gtkhtml/htmlframe.h
@@ -76,8 +76,5 @@ HTMLObject * html_frame_new (GtkWidget *parent,
gint height,
gboolean border);
-
-
#endif
-
diff --git a/gtkhtml/htmlframeset.c b/gtkhtml/htmlframeset.c
index 2917a53..b9a5eb8 100644
--- a/gtkhtml/htmlframeset.c
+++ b/gtkhtml/htmlframeset.c
@@ -80,7 +80,6 @@ html_frameset_append (HTMLFrameset *set, HTMLObject *frame)
if (set->frames->len >= set->cols->len * set->rows->len)
return FALSE;
-
g_ptr_array_add (set->frames, frame);
html_object_set_parent (frame, HTML_OBJECT (set));
return TRUE;
@@ -113,7 +112,6 @@ calc_dimension (GPtrArray *dim, gint *span, gint total)
remain -= span[i];
}
-
if (remain > 0 && num_frac) {
adj = remain / num_frac;
for (i = 0; i < dim->len; i++) {
@@ -240,7 +238,6 @@ html_frameset_init (HTMLFrameset *set,
set->frames = g_ptr_array_new ();
}
-
static void
draw (HTMLObject *o,
HTMLPainter *p,
@@ -255,7 +252,6 @@ draw (HTMLObject *o,
tx += o->x;
ty += o->y - o->ascent;
-
/* Do nothing by default. We don't know how to paint ourselves. */
for (i = 0; i < set->frames->len; i++) {
html_object_draw (HTML_OBJECT (g_ptr_array_index (set->frames, i)),
@@ -315,7 +311,6 @@ check_point (HTMLObject *self,
HTMLObject *obj;
gint i;
-
x -= self->x;
y -= self->y - self->ascent;
@@ -365,7 +360,6 @@ forall (HTMLObject *self,
(* func) (self, e, data);
}
-
HTMLObject *
html_frameset_new (GtkHTML *parent, gchar *rows, gchar *cols)
{
@@ -440,6 +434,3 @@ html_frameset_class_init (HTMLFramesetClass *klass,
parent_class = &html_object_class;
}
-
-
-
diff --git a/gtkhtml/htmlframeset.h b/gtkhtml/htmlframeset.h
index b36f063..fda0110 100644
--- a/gtkhtml/htmlframeset.h
+++ b/gtkhtml/htmlframeset.h
@@ -41,7 +41,6 @@ struct _HTMLFramesetClass {
HTMLObjectClass object_class;
};
-
HTMLObject *html_frameset_new (GtkHTML *parent, gchar *rows, gchar *cols);
void html_frameset_init (HTMLFrameset *set, GtkHTML *parent, const gchar *rows, const gchar *cols);
diff --git a/gtkhtml/htmlgdkpainter.c b/gtkhtml/htmlgdkpainter.c
index f776c4e..65cfa76 100644
--- a/gtkhtml/htmlgdkpainter.c
+++ b/gtkhtml/htmlgdkpainter.c
@@ -103,7 +103,6 @@ begin (HTMLPainter *painter, gint x1, gint y1, gint x2, gint y2)
const gint width = x2 - x1 + 1;
const gint height = y2 - y1 + 1;
-
/* FIXME: Ideally it should be NULL before coming here. */
if (gdk_painter->pixmap && gdk_painter->pixmap != gdk_painter->window)
g_object_unref (gdk_painter->pixmap);
@@ -574,7 +573,6 @@ draw_pixmap (HTMLPainter *painter,
return;
}
-
tmp_pixbuf = gdk_pixbuf_new (GDK_COLORSPACE_RGB,
gdk_pixbuf_get_has_alpha (pixbuf),
gdk_pixbuf_get_bits_per_sample (pixbuf),
diff --git a/gtkhtml/htmliframe.c b/gtkhtml/htmliframe.c
index ab79a2e..9cbdf21 100644
--- a/gtkhtml/htmliframe.c
+++ b/gtkhtml/htmliframe.c
@@ -38,7 +38,6 @@
#include "htmltokenizer.h"
#include "htmlembedded.h"
-
HTMLIFrameClass html_iframe_class;
static HTMLEmbeddedClass *parent_class = NULL;
diff --git a/gtkhtml/htmliframe.h b/gtkhtml/htmliframe.h
index 43b9f30..f1ba464 100644
--- a/gtkhtml/htmliframe.h
+++ b/gtkhtml/htmliframe.h
@@ -73,4 +73,3 @@ void html_iframe_set_margin_height (HTMLIFrame *iframe,
#endif
-
diff --git a/gtkhtml/htmlimage.c b/gtkhtml/htmlimage.c
index cf7d3a7..68f2030 100644
--- a/gtkhtml/htmlimage.c
+++ b/gtkhtml/htmlimage.c
@@ -1576,7 +1576,6 @@ deactivate_anim (gpointer key, gpointer value, gpointer user_data)
GSList *cur = ip->interests;
HTMLImage *image;
-
while (cur) {
if (cur->data) {
image = (HTMLImage *) cur->data;
diff --git a/gtkhtml/htmlmap.c b/gtkhtml/htmlmap.c
index e05b8e4..d789e3d 100644
--- a/gtkhtml/htmlmap.c
+++ b/gtkhtml/htmlmap.c
@@ -19,7 +19,6 @@
Boston, MA 02110-1301, USA.
*/
-
#include <config.h>
#include <string.h>
#include <glib.h>
diff --git a/gtkhtml/htmlmap.h b/gtkhtml/htmlmap.h
index 6da8553..035a7ea 100644
--- a/gtkhtml/htmlmap.h
+++ b/gtkhtml/htmlmap.h
@@ -42,4 +42,3 @@ void html_map_add_shape (HTMLMap *map,
#endif /* _HTMLMAP_H */
-
diff --git a/gtkhtml/htmlmarshal.c b/gtkhtml/htmlmarshal.c
index 33e8d42..6571d52 100644
--- a/gtkhtml/htmlmarshal.c
+++ b/gtkhtml/htmlmarshal.c
@@ -2,7 +2,6 @@
#include <glib-object.h>
-
#ifdef G_ENABLE_DEBUG
#define g_marshal_value_peek_boolean(v) g_value_get_boolean (v)
#define g_marshal_value_peek_char(v) g_value_get_char (v)
@@ -47,7 +46,6 @@
#define g_marshal_value_peek_object(v) (v)->data[0].v_pointer
#endif /* !G_ENABLE_DEBUG */
-
/* BOOL:OBJECT (htmlclosures.list:1) */
void
html_g_cclosure_marshal_BOOLEAN__OBJECT (GClosure *closure,
diff --git a/gtkhtml/htmlobject.c b/gtkhtml/htmlobject.c
index 13eaa19..1bd68d8 100644
--- a/gtkhtml/htmlobject.c
+++ b/gtkhtml/htmlobject.c
@@ -948,7 +948,6 @@ html_object_set_parent (HTMLObject *o, HTMLObject *parent)
o->parent = parent;
}
-
static void
frame_offset (HTMLObject *o,
gint *x_return, gint *y_return)
@@ -1953,7 +1952,6 @@ html_object_check_cut_lists (HTMLObject *self, HTMLObject *replacement, GList *l
right->data = replacement;
}
-
typedef struct {
HTMLInterval *i;
GString *buffer;
@@ -2213,7 +2211,6 @@ html_object_get_child (HTMLObject *self, gint index)
return HO_CLASS (self)->get_child ? (* HO_CLASS (self)->get_child) (self, index) : NULL;
}
-
gint
html_object_get_child_index (HTMLObject *self, HTMLObject *child)
{
diff --git a/gtkhtml/htmlpainter.c b/gtkhtml/htmlpainter.c
index 4066926..dc6adfe 100644
--- a/gtkhtml/htmlpainter.c
+++ b/gtkhtml/htmlpainter.c
@@ -388,7 +388,6 @@ get_font_info (HTMLPainter *painter,
}
}
-
static gint
get_space_width (HTMLPainter *painter,
HTMLTextPangoInfo *pi)
diff --git a/gtkhtml/htmlpainter.h b/gtkhtml/htmlpainter.h
index d5b25e3..ac84f0b 100644
--- a/gtkhtml/htmlpainter.h
+++ b/gtkhtml/htmlpainter.h
@@ -307,7 +307,6 @@ HTMLTextPangoInfo *html_painter_text_itemize_and_prepare_glyphs (HTMLPainter
PangoAttrList *attrs);
void html_painter_glyphs_destroy (GList *glyphs);
-
/* Retrieves the properties we care about for a single run in an
* easily accessible structure rather than a list of attributes
*/
diff --git a/gtkhtml/htmlrule.c b/gtkhtml/htmlrule.c
index b1d6b6c..e86087e 100644
--- a/gtkhtml/htmlrule.c
+++ b/gtkhtml/htmlrule.c
@@ -329,13 +329,3 @@ html_rule_new (gint length,
return HTML_OBJECT (rule);
}
-
-
-
-
-
-
-
-
-
-
diff --git a/gtkhtml/htmlselect.c b/gtkhtml/htmlselect.c
index 09ed5d7..c6eb2a8 100644
--- a/gtkhtml/htmlselect.c
+++ b/gtkhtml/htmlselect.c
@@ -54,7 +54,6 @@ copy (HTMLObject *self,
(* HTML_OBJECT_CLASS (parent_class)->copy) (self,dest);
-
/* FIXME g_warning ("HTMLSelect::copy() is not complete."); */
d->size = s->size;
d->multi = s->multi;
diff --git a/gtkhtml/htmlshape.c b/gtkhtml/htmlshape.c
index cae9db8..f5cdc1d 100644
--- a/gtkhtml/htmlshape.c
+++ b/gtkhtml/htmlshape.c
@@ -225,5 +225,3 @@ html_shape_destroy (HTMLShape *shape)
g_free (shape);
}
-
-
diff --git a/gtkhtml/htmlstyle.c b/gtkhtml/htmlstyle.c
index 98b44f7..51119c1 100644
--- a/gtkhtml/htmlstyle.c
+++ b/gtkhtml/htmlstyle.c
@@ -92,7 +92,6 @@ parse_length (gchar *str) {
return len;
}
-
HTMLStyle *
html_style_new (void)
{
diff --git a/gtkhtml/htmltable.c b/gtkhtml/htmltable.c
index abbfd8f..15a09e3 100644
--- a/gtkhtml/htmltable.c
+++ b/gtkhtml/htmltable.c
@@ -1162,7 +1162,6 @@ get_bounds (HTMLTable *table, gint x, gint y, gint width, gint height, gint *sc,
g_return_if_fail (table->rowHeights->data);
g_return_if_fail (table->columnOpt->data);
-
*sr = to_index (bin_search_index (table->rowHeights, 0, table->totalRows, y), 0, table->totalRows - 1);
if (y < ROW_HEIGHT (table, *sr) && (*sr) > 0)
(*sr)--;
@@ -1819,7 +1818,6 @@ find_anchor (HTMLObject *self, const gchar *name, gint *x, gint *y)
return 0;
}
-
static HTMLObject *
check_point (HTMLObject *self,
HTMLPainter *painter,
diff --git a/gtkhtml/htmltablecell.c b/gtkhtml/htmltablecell.c
index f5795d4..76e1924 100644
--- a/gtkhtml/htmltablecell.c
+++ b/gtkhtml/htmltablecell.c
@@ -178,7 +178,6 @@ draw (HTMLObject *o,
HTMLTableCell *cell = HTML_TABLE_CELL (o);
GdkRectangle paint;
-
if (!html_object_intersect (o, &paint, x, y, width, height))
return;
@@ -267,7 +266,6 @@ get_bg_color (HTMLObject *o,
: html_object_get_bg_color (o->parent, p);
}
-
#define SB if (!html_engine_save_output_string (state,
#define SE )) return FALSE
diff --git a/gtkhtml/htmltext.c b/gtkhtml/htmltext.c
index a68be99..7892861 100644
--- a/gtkhtml/htmltext.c
+++ b/gtkhtml/htmltext.c
@@ -1105,7 +1105,6 @@ min_word_width_calc_tabs (HTMLText *text, HTMLPainter *p, gint idx, gint *len)
epos++;
}
-
if (tab) {
line_offset = 0;
@@ -1143,7 +1142,6 @@ html_text_pango_info_get_index (HTMLTextPangoInfo *pi, gint byte_offset, gint id
return idx;
}
-
static void
html_text_add_cite_color (PangoAttrList *attrs, HTMLText *text, HTMLClueFlow *flow, HTMLEngine *e)
{
@@ -1200,7 +1198,6 @@ html_text_prepare_attrs (HTMLText *text, HTMLPainter *painter)
attrs = pango_attr_list_new ();
-
if (HTML_OBJECT (text)->parent && HTML_IS_CLUEFLOW (HTML_OBJECT (text)->parent))
flow = HTML_CLUEFLOW (HTML_OBJECT (text)->parent);
@@ -1211,7 +1208,6 @@ html_text_prepare_attrs (HTMLText *text, HTMLPainter *painter)
html_text_add_cite_color (attrs, text, flow, e);
}
-
if (HTML_IS_PLAIN_PAINTER (painter)) {
attr = pango_attr_family_new (painter->font_manager.fixed.face);
attr->start_index = 0;
@@ -1939,7 +1935,6 @@ is_convert_nbsp_needed (const gchar *s, gint *delta_out, GSList **changes_out)
if (check_last_white (white_space, last_white, delta_out))
*changes_out = add_change (*changes_out, last_p - s, *delta_out);
-
*changes_out = g_slist_reverse (*changes_out);
return *changes_out != NULL;
@@ -2324,7 +2319,6 @@ destroy (HTMLObject *obj)
HTML_OBJECT_CLASS (parent_class)->destroy (obj);
}
-
static gboolean
select_range (HTMLObject *self,
HTMLEngine *engine,
diff --git a/gtkhtml/htmltextslave.h b/gtkhtml/htmltextslave.h
index 267f5bf..aab821a 100644
--- a/gtkhtml/htmltextslave.h
+++ b/gtkhtml/htmltextslave.h
@@ -51,7 +51,6 @@ struct _HTMLTextSlaveGlyphItem {
HTMLTextSlaveGlyphItemType type;
};
-
void html_text_slave_type_init (void);
void html_text_slave_class_init (HTMLTextSlaveClass *klass,
HTMLType type,
diff --git a/gtkhtml/htmltokenizer.c b/gtkhtml/htmltokenizer.c
index 00a3a20..77682fd 100644
--- a/gtkhtml/htmltokenizer.c
+++ b/gtkhtml/htmltokenizer.c
@@ -104,7 +104,6 @@ struct _HTMLTokenizerPrivate {
TabPending
} pending;
-
gchar searchBuffer[20];
gint searchCount;
gint searchGtkHTMLCount;
@@ -126,8 +125,6 @@ struct _HTMLTokenizerPrivate {
};
-
-
static const gchar *commentStart = "<!--";
static const gchar *scriptEnd = "</script>";
static const gchar *styleEnd = "</style>";
@@ -164,7 +161,6 @@ static gchar *html_tokenizer_real_next_token (HTMLTokenizer *);
static gboolean html_tokenizer_real_has_more_tokens (HTMLTokenizer *);
static gchar *html_tokenizer_converted_token (HTMLTokenizer *t,const gchar * token);
-
static HTMLTokenizer *html_tokenizer_real_clone (HTMLTokenizer *);
/* blocking tokens */
@@ -761,7 +757,6 @@ html_tokenizer_real_change (HTMLTokenizer *t, const gchar *content_type)
#endif
}
-
static void
html_tokenizer_real_begin (HTMLTokenizer *t, const gchar *content_type)
{
@@ -1052,7 +1047,6 @@ in_script_or_style (HTMLTokenizer *t, const gchar **src)
while (isspace (**p))
(*p)++;
-
if (**p == '>')
*src = *p;
else
@@ -1494,7 +1488,6 @@ html_tokenizer_change_content_type (HTMLTokenizer *t,const gchar *content_type)
g_signal_emit (t, html_tokenizer_signals [HTML_TOKENIZER_CHANGECONTENT_SIGNAL], 0, content_type);
}
-
void
html_tokenizer_end (HTMLTokenizer *t)
{
diff --git a/gtkhtml/htmlundo.c b/gtkhtml/htmlundo.c
index 0496404..0be0679 100644
--- a/gtkhtml/htmlundo.c
+++ b/gtkhtml/htmlundo.c
@@ -483,7 +483,6 @@ html_undo_level_end (HTMLUndo *undo)
if (save_undo.size) {
HTMLUndoAction *action;
-
/* we use position from last undo action on the stack */
action = html_undo_action_new (level->description [HTML_UNDO_UNDO],
undo_step_action,
diff --git a/gtkhtml/htmlurl.c b/gtkhtml/htmlurl.c
index 68c4819..5c8cbaf 100644
--- a/gtkhtml/htmlurl.c
+++ b/gtkhtml/htmlurl.c
@@ -419,7 +419,6 @@ html_url_to_string (const HTMLURL *url)
#define APPEND_CHAR(c) \
*(p++) = c;
-
if (protocol_length != 0) {
APPEND_MEMBER (protocol);
APPEND_CHAR (':');
diff --git a/gtkhtml/test-stress.c b/gtkhtml/test-stress.c
index 8a3f09f..2c7ca81 100644
--- a/gtkhtml/test-stress.c
+++ b/gtkhtml/test-stress.c
@@ -50,7 +50,6 @@ set_format (GtkHTML *html, gboolean format_html)
g_object_ref (G_OBJECT (gdk_painter));
}
-
if (format_html) {
p = gdk_painter;
old_p = plain_painter;
diff --git a/gtkhtml/test-suite.c b/gtkhtml/test-suite.c
index f189ac0..23bd3d4 100644
--- a/gtkhtml/test-suite.c
+++ b/gtkhtml/test-suite.c
@@ -332,7 +332,6 @@ static gint test_cursor_left_right_on_items_boundaries (GtkHTML *html)
|| html->engine->cursor->position != 1)
return FALSE;
-
html_cursor_jump_to_position (html->engine->cursor, html->engine, 4);
if (html->engine->cursor->position != html->engine->cursor->offset
|| html->engine->cursor->position != 4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]