Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/backend
diff options
context:
space:
mode:
Diffstat (limited to 'backend')
-rw-r--r--backend/ev-document-find.c9
-rw-r--r--backend/ev-document-find.h6
2 files changed, 9 insertions, 6 deletions
diff --git a/backend/ev-document-find.c b/backend/ev-document-find.c
index 9dc05c4..01ae739 100644
--- a/backend/ev-document-find.c
+++ b/backend/ev-document-find.c
@@ -58,8 +58,9 @@ ev_document_find_base_init (gpointer g_class)
G_SIGNAL_RUN_LAST,
G_STRUCT_OFFSET (EvDocumentFindIface, find_changed),
NULL, NULL,
- g_cclosure_marshal_VOID__VOID,
- G_TYPE_NONE, 0);
+ g_cclosure_marshal_VOID__INT,
+ G_TYPE_NONE, 1,
+ G_TYPE_INT);
initialized = TRUE;
}
@@ -117,8 +118,8 @@ ev_document_find_get_progress (EvDocumentFind *document_find,
}
void
-ev_document_find_changed (EvDocumentFind *document_find)
+ev_document_find_changed (EvDocumentFind *document_find, int page)
{
- g_signal_emit_by_name (document_find, "find_changed");
+ g_signal_emit_by_name (document_find, "find_changed", page);
}
diff --git a/backend/ev-document-find.h b/backend/ev-document-find.h
index d17b9de..ebce196 100644
--- a/backend/ev-document-find.h
+++ b/backend/ev-document-find.h
@@ -59,7 +59,8 @@ struct _EvDocumentFindIface
/* Signals */
- void (* find_changed) (EvDocumentFind *document_find);
+ void (* find_changed) (EvDocumentFind *document_find,
+ int page);
};
GType ev_document_find_get_type (void);
@@ -75,7 +76,8 @@ gboolean ev_document_find_get_result (EvDocumentFind *document_find,
GdkRectangle *rectangle);
void ev_document_find_get_progress (EvDocumentFind *document_find,
double percent_complete);
-void ev_document_find_changed (EvDocumentFind *document_find);
+void ev_document_find_changed (EvDocumentFind *document_find,
+ int page);
/* How this interface works: