diff options
Diffstat (limited to 'libdocument')
-rw-r--r-- | libdocument/ev-selection.c | 12 | ||||
-rw-r--r-- | libdocument/ev-selection.h | 6 |
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 |