]> www.fi.muni.cz Git - evince.git/blobdiff - libview/ev-page-cache.c
[shell] Port TotemScrsaver to GDBus
[evince.git] / libview / ev-page-cache.c
index 9835caad2b6c31d4147bc8adbc968a32ec1c54f4..d682080d1a7b75db092ec7e77375af1b227c44db 100644 (file)
@@ -14,7 +14,7 @@
  *
  * You should have received a copy of the GNU General Public License
  * along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  */
 
 #include <config.h>
@@ -218,6 +218,19 @@ ev_page_cache_set_page_range (EvPageCache *cache,
        }
 }
 
+EvJobPageDataFlags
+ev_page_cache_get_flags (EvPageCache *cache)
+{
+       return cache->flags;
+}
+
+void
+ev_page_cache_set_flags (EvPageCache       *cache,
+                        EvJobPageDataFlags flags)
+{
+       cache->flags = flags;
+}
+
 GList *
 ev_page_cache_get_link_mapping (EvPageCache *cache,
                                gint         page)