]> www.fi.muni.cz Git - evince.git/commitdiff
presentation: Make next/previous methods public
authorCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 30 Jan 2011 15:09:17 +0000 (16:09 +0100)
committerCarlos Garcia Campos <carlosgc@gnome.org>
Sun, 30 Jan 2011 15:09:17 +0000 (16:09 +0100)
libview/ev-view-presentation.c
libview/ev-view-presentation.h

index a4498f4c20d5b948592ff4d5a34691e175eb5e22..3454d778fc4a51d163f3d0476a37a08f2dff081e 100644 (file)
@@ -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;
index 24553b08187c8f70481fb7a485c65fdc7b9a5fd9..ad0a33a64a3523776a0b088273fff2cff6d921c1 100644 (file)
@@ -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