result = gtk_html_engine_search (GTK_HTML (priv->gtkhtml),
search,
FALSE, TRUE, TRUE);
-#if 0
if (result) {
gint x, y, w, h;
gdouble offset_top, offset_bottom;
else if (offset_bottom > adj->value + adj->page_increment)
gtk_adjustment_set_value (adj, offset_bottom - adj->page_increment);
}
-#endif
y_offset = tmp_vadj->value;
gtk_layout_set_vadjustment (GTK_LAYOUT (priv->gtkhtml), vadj);
g_object_unref (vadj);
priv = MODEST_MSG_VIEW_GET_PRIVATE (self);
result = gtk_html_engine_search_next (GTK_HTML (priv->gtkhtml));
-#if 0
+
if (result) {
gint x, y, w, h;
gdouble offset_top, offset_bottom;
else if (offset_bottom > adj->value + adj->page_increment)
gtk_adjustment_set_value (adj, offset_bottom - adj->page_increment);
}
-#endif
return result;
}