X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-utils.h;h=81acc4630d8ee3675af35cc228e6edc3ab755419;hb=6935cbce7dce37600abe92eec6344ffde0cc6bae;hp=705beaa0f0b7216aef24947c01c081e56f47acc7;hpb=06e8fe2d26f02fd17a4dc19ea10d7ee00dc33243;p=evince.git diff --git a/shell/ev-utils.h b/shell/ev-utils.h index 705beaa0..81acc463 100644 --- a/shell/ev-utils.h +++ b/shell/ev-utils.h @@ -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. * */ @@ -23,16 +23,13 @@ #include #include -#ifdef WITH_GNOME_PRINT -#include -#endif G_BEGIN_DECLS GdkPixbuf* ev_pixbuf_add_shadow (GdkPixbuf *src, int size, int x_offset, int y_offset, double opacity); -void ev_print_region_contents (GdkRegion *region); +void ev_print_region_contents (cairo_region_t *region); void ev_gui_menu_position_tree_selection (GtkMenu *menu, gint *x, @@ -40,15 +37,10 @@ void ev_gui_menu_position_tree_selection (GtkMenu *menu, gboolean *push_in, gpointer user_data); -#ifdef WITH_GNOME_PRINT -GnomePrintConfig* load_print_config_from_file (void); -void save_print_config_to_file (GnomePrintConfig *config); -gboolean using_postscript_printer (GnomePrintConfig *config); -gboolean using_pdf_printer (GnomePrintConfig *config); -#endif gint get_num_monitors (GtkWindow * window); -gdouble get_screen_dpi (GtkWindow * window); +void file_chooser_dialog_add_writable_pixbuf_formats (GtkFileChooser *chooser); +GdkPixbufFormat* get_gdk_pixbuf_format_by_extension (gchar *uri); G_END_DECLS