X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libdocument%2Fev-selection.c;h=260a9ca46906c2b03370a0c6e27468a281d72698;hb=d92e01606a301b6f677d85c3b24348f3b51ed2f4;hp=e087af6e6e2f4f9926081d209903438e178e885f;hpb=19a00ed1cd086dcca4b6bfeb84e0b1488b2e3089;p=evince.git diff --git a/libdocument/ev-selection.c b/libdocument/ev-selection.c index e087af6e..260a9ca4 100644 --- a/libdocument/ev-selection.c +++ b/libdocument/ev-selection.c @@ -22,10 +22,10 @@ #include "ev-selection.h" -EV_DEFINE_INTERFACE (EvSelection, ev_selection, 0) +G_DEFINE_INTERFACE (EvSelection, ev_selection, 0) static void -ev_selection_class_init (EvSelectionIface *klass) +ev_selection_default_init (EvSelectionInterface *klass) { } @@ -39,7 +39,7 @@ ev_selection_render_selection (EvSelection *selection, GdkColor *text, GdkColor *base) { - EvSelectionIface *iface = EV_SELECTION_GET_IFACE (selection); + EvSelectionInterface *iface = EV_SELECTION_GET_IFACE (selection); if (!iface->render_selection) return; @@ -57,7 +57,7 @@ ev_selection_get_selected_text (EvSelection *selection, EvSelectionStyle style, EvRectangle *points) { - EvSelectionIface *iface = EV_SELECTION_GET_IFACE (selection); + EvSelectionInterface *iface = EV_SELECTION_GET_IFACE (selection); return iface->get_selected_text (selection, rc, style, points); } @@ -68,7 +68,7 @@ ev_selection_get_selection_region (EvSelection *selection, EvSelectionStyle style, EvRectangle *points) { - EvSelectionIface *iface = EV_SELECTION_GET_IFACE (selection); + EvSelectionInterface *iface = EV_SELECTION_GET_IFACE (selection); if (!iface->get_selection_region) return NULL; @@ -80,7 +80,7 @@ GdkRegion * ev_selection_get_selection_map (EvSelection *selection, EvPage *page) { - EvSelectionIface *iface = EV_SELECTION_GET_IFACE (selection); + EvSelectionInterface *iface = EV_SELECTION_GET_IFACE (selection); if (!iface->get_selection_map) return NULL;