[evince] presentation: Make next/previous methods public
- From: Carlos Garcia Campos <carlosgc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince] presentation: Make next/previous methods public
- Date: Sun, 30 Jan 2011 15:12:20 +0000 (UTC)
commit f0361693221cdd168386509b6ffe97c72d21777a
Author: Carlos Garcia Campos <carlosgc gnome org>
Date: Sun Jan 30 16:09:17 2011 +0100
presentation: Make next/previous methods public
libview/ev-view-presentation.c | 6 ++----
libview/ev-view-presentation.h | 2 ++
2 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/libview/ev-view-presentation.c b/libview/ev-view-presentation.c
index a4498f4..3454d77 100644
--- a/libview/ev-view-presentation.c
+++ b/libview/ev-view-presentation.c
@@ -104,8 +104,6 @@ struct _EvViewPresentationClass
static guint signals[N_SIGNALS] = { 0 };
-static void ev_view_presentation_next_page (EvViewPresentation *pview);
-static void ev_view_presentation_previous_page (EvViewPresentation *pview);
static void ev_view_presentation_set_cursor_for_location (EvViewPresentation *pview,
gdouble x,
gdouble y);
@@ -485,7 +483,7 @@ ev_view_presentation_update_current_page (EvViewPresentation *pview,
gtk_widget_queue_draw (GTK_WIDGET (pview));
}
-static void
+void
ev_view_presentation_next_page (EvViewPresentation *pview)
{
guint n_pages;
@@ -510,7 +508,7 @@ ev_view_presentation_next_page (EvViewPresentation *pview)
ev_view_presentation_update_current_page (pview, new_page);
}
-static void
+void
ev_view_presentation_previous_page (EvViewPresentation *pview)
{
gint new_page = 0;
diff --git a/libview/ev-view-presentation.h b/libview/ev-view-presentation.h
index 24553b0..ad0a33a 100644
--- a/libview/ev-view-presentation.h
+++ b/libview/ev-view-presentation.h
@@ -45,6 +45,8 @@ GtkWidget *ev_view_presentation_new (EvDocument *document,
guint rotation,
gboolean inverted_colors);
guint ev_view_presentation_get_current_page (EvViewPresentation *pview);
+void ev_view_presentation_next_page (EvViewPresentation *pview);
+void ev_view_presentation_previous_page (EvViewPresentation *pview);
G_END_DECLS
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]