Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/libdocument/ev-selection.c
diff options
context:
space:
mode:
authorCarlos Garcia Campos <carlosgc@gnome.org>2010-05-07 11:05:07 (GMT)
committer Carlos Garcia Campos <carlosgc@gnome.org>2010-05-07 11:05:07 (GMT)
commit837897ffba5a5e4e5685c1ffdeb1d4d87083a052 (patch)
treee9b53ce0094a11414dd57771e84265ad32813394 /libdocument/ev-selection.c
parent698e8119ca94fd58c3604d4b09b15026dc2415ab (diff)
[libdocument] Use G_DEFINE_INTERFACE instead of out own macro
Diffstat (limited to 'libdocument/ev-selection.c')
-rw-r--r--libdocument/ev-selection.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/libdocument/ev-selection.c b/libdocument/ev-selection.c
index e087af6..260a9ca 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;