#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)
{
}
GdkColor *text,
GdkColor *base)
{
- EvSelectionIface *iface = EV_SELECTION_GET_IFACE (selection);
+ EvSelectionInterface *iface = EV_SELECTION_GET_IFACE (selection);
if (!iface->render_selection)
return;
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);
}
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;
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;