Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libdocument
diff options
context:
space:
mode:
authorDaniel Garcia <danigm@yaco.es>2010-06-26 14:12:57 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2010-06-26 14:24:32 (GMT)
commit18d2af9bce80392407fae997c8dfa029f5a54123 (patch)
treecc2f2d7d7c000ea6985cf52fe6ea41fc6bc709ee /libdocument
parent05fdc61391b2d3f13a539ba8c870a4b60342d06a (diff)
[pdf] Implement EvDocumentText interface
Diffstat (limited to 'libdocument')
-rw-r--r--libdocument/ev-selection.c12
-rw-r--r--libdocument/ev-selection.h6
2 files changed, 1 insertions, 17 deletions
diff --git a/libdocument/ev-selection.c b/libdocument/ev-selection.c
index 25879a9..a34e863 100644
--- a/libdocument/ev-selection.c
+++ b/libdocument/ev-selection.c
@@ -75,15 +75,3 @@ ev_selection_get_selection_region (EvSelection *selection,
return iface->get_selection_region (selection, rc, style, points);
}
-
-GdkRegion *
-ev_selection_get_selection_map (EvSelection *selection,
- EvPage *page)
-{
- EvSelectionInterface *iface = EV_SELECTION_GET_IFACE (selection);
-
- if (!iface->get_selection_map)
- return NULL;
-
- return iface->get_selection_map (selection, page);
-}
diff --git a/libdocument/ev-selection.h b/libdocument/ev-selection.h
index 19b61bb..5c9c718 100644
--- a/libdocument/ev-selection.h
+++ b/libdocument/ev-selection.h
@@ -64,8 +64,6 @@ struct _EvSelectionInterface
EvPage *page,
EvSelectionStyle style,
EvRectangle *points);
- GdkRegion * (* get_selection_map) (EvSelection *selection,
- EvPage *page);
GdkRegion * (* get_selection_region) (EvSelection *selection,
EvRenderContext *rc,
EvSelectionStyle style,
@@ -85,13 +83,11 @@ gchar *ev_selection_get_selected_text (EvSelection *selection,
EvPage *page,
EvSelectionStyle style,
EvRectangle *points);
-GdkRegion *ev_selection_get_selection_map (EvSelection *selection,
- EvPage *page);
GdkRegion *ev_selection_get_selection_region (EvSelection *selection,
EvRenderContext *rc,
EvSelectionStyle style,
EvRectangle *points);
-
+
G_END_DECLS
#endif