/usr/include/libgnomeui-2.0/libgnomeui/gnome-vfs-util.h is in libgnomeui-dev 2.24.5-3.2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | /* -*- Mode: C; c-set-style: gnu indent-tabs-mode: t; c-basic-offset: 4; tab-width: 8 -*- */
/*
* Copyright (C) 2000 SuSE GmbH
* Author: Martin Baulig <baulig@suse.de>
*
* This file is part of the Gnome Library.
*
* The Gnome Library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Library General Public License as
* published by the Free Software Foundation; either version 2 of the
* License, or (at your option) any later version.
*
* The Gnome Library 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
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
* License along with the Gnome Library; see the file COPYING.LIB. If not,
* write to the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
* Boston, MA 02111-1307, USA.
*/
/*
@NOTATION@
*/
#ifndef GNOME_VFS_UTIL_H
#define GNOME_VFS_UTIL_H
#include <gdk-pixbuf/gdk-pixbuf.h>
#include <libgnomevfs/gnome-vfs-result.h>
G_BEGIN_DECLS
/* =======================================================================
* gdk-pixbuf handing stuff.
*
* Shamelessly stolen from nautilus-gdk-pixbuf-extensions.h which is
* Copyright (C) 2000 Eazel, Inc.
* Authors: Darin Adler <darin@eazel.com>
*
* =======================================================================
*/
typedef struct GnomeGdkPixbufAsyncHandle GnomeGdkPixbufAsyncHandle;
typedef void (*GnomeGdkPixbufLoadCallback) (GnomeGdkPixbufAsyncHandle *handle,
GnomeVFSResult error,
GdkPixbuf *pixbuf,
gpointer cb_data);
typedef void (*GnomeGdkPixbufDoneCallback) (GnomeGdkPixbufAsyncHandle *handle,
gpointer cb_data);
/* Loading a GdkPixbuf with a URI. */
GdkPixbuf *
gnome_gdk_pixbuf_new_from_uri (const char *uri);
/* Loading a GdkPixbuf with a URI. The image will be scaled to fit in the
* requested size. */
GdkPixbuf *
gnome_gdk_pixbuf_new_from_uri_at_scale (const char *uri,
gint width,
gint height,
gboolean preserve_aspect_ratio);
/* Same thing async. */
GnomeGdkPixbufAsyncHandle *
gnome_gdk_pixbuf_new_from_uri_async (const char *uri,
GnomeGdkPixbufLoadCallback load_callback,
GnomeGdkPixbufDoneCallback done_callback,
gpointer callback_data);
void
gnome_gdk_pixbuf_new_from_uri_cancel (GnomeGdkPixbufAsyncHandle *handle);
G_END_DECLS
#endif
|