From da2692f367deaeb34b60bbd2030acf3a22ff94ae Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Sat, 01 Jan 2005 11:09:50 +0000 Subject: Get rid of ggvutils 2005-01-01 Marco Pesenti Gritti * ps/Makefile.am: * ps/ggvutils.c: * ps/ggvutils.h: * ps/gsdefaults.c: (gtk_gs_defaults_get_paper_sizes): * ps/gsdefaults.h: * ps/gtkgs.c: (file_length), (file_readable), (check_filecompressed), (check_pdf), (gtk_gs_load), (gtk_gs_get_postscript): Get rid of ggvutils --- (limited to 'ps/ggvutils.h') diff --git a/ps/ggvutils.h b/ps/ggvutils.h deleted file mode 100644 index c9b2f20..0000000 --- a/ps/ggvutils.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * ggvutils.h: misc utility functions - * - * Copyright 2002 - 2005 the Free Software Foundation - * - * Author: Jaka Mocnik - * - * This program is free software; you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * 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. - */ - -#ifndef __GGV_UTILS_H__ -#define __GGV_UTILS_H__ - -#include "gtkgs.h" - -extern GtkGSPaperSize ggv_paper_sizes[]; - -/* If file exists and is a regular file then return its length, else -1 */ -gint ggv_file_length(const gchar * filename); - -/* Test if file exists, is a regular file and its length is > 0 */ -gboolean ggv_file_readable(const char *filename); - -#endif /* __GGV_UTILS_H__ */ -- cgit v0.9.1