mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
Fix build on -STABLE.
Submitted by: maintainer Reported by: bento via kris
This commit is contained in:
parent
cf50635e68
commit
5d89d1dc81
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=83284
@ -0,0 +1,35 @@
|
||||
--- libgnomevfs/libgnomevfsmm/directory-handle.cc.orig Thu Jun 19 11:43:18 2003
|
||||
+++ libgnomevfs/libgnomevfsmm/directory-handle.cc Thu Jun 19 11:45:32 2003
|
||||
@@ -97,13 +97,13 @@
|
||||
|
||||
void DirectoryHandle::open(const Glib::ustring& text_uri, FileInfoOptions options) throw(exception)
|
||||
{
|
||||
- GnomeVFSResult result = gnome_vfs_directory_open(&gobj_, text_uri.c_str(), static_cast<GnomeVFSFileInfoOptions>(options) );
|
||||
+ GnomeVFSResult result = gnome_vfs_directory_open(&gobj_, text_uri.c_str(), GnomeVFSFileInfoOptions(options) );
|
||||
handle_result(result);
|
||||
}
|
||||
|
||||
void DirectoryHandle::open(const Glib::RefPtr<const Uri>& uri, FileInfoOptions options) throw(exception)
|
||||
{
|
||||
- GnomeVFSResult result = gnome_vfs_directory_open_from_uri(&gobj_, const_cast<GnomeVFSURI*>(uri->gobj()), static_cast<GnomeVFSFileInfoOptions>(options) );
|
||||
+ GnomeVFSResult result = gnome_vfs_directory_open_from_uri(&gobj_, const_cast<GnomeVFSURI*>(uri->gobj()), GnomeVFSFileInfoOptions(options) );
|
||||
handle_result(result);
|
||||
}
|
||||
|
||||
@@ -132,14 +132,14 @@
|
||||
void DirectoryHandle::visit(const Glib::ustring& uri, FileInfoOptions info_options, DirectoryVisitOptions visit_options, const SlotVisit& slot) throw(exception)
|
||||
{
|
||||
SignalProxy_Visit proxy(slot);
|
||||
- GnomeVFSResult result = gnome_vfs_directory_visit(uri.c_str(), static_cast<GnomeVFSFileInfoOptions>(info_options), static_cast<GnomeVFSDirectoryVisitOptions>(visit_options), &SignalProxy_Visit::c_callback, &proxy);
|
||||
+ GnomeVFSResult result = gnome_vfs_directory_visit(uri.c_str(), GnomeVFSFileInfoOptions(info_options), GnomeVFSDirectoryVisitOptions(visit_options), &SignalProxy_Visit::c_callback, &proxy);
|
||||
handle_result(result);
|
||||
}
|
||||
|
||||
void DirectoryHandle::visit(const Glib::RefPtr<const Uri>& uri, FileInfoOptions info_options, DirectoryVisitOptions visit_options, const SlotVisit& slot) throw(exception)
|
||||
{
|
||||
SignalProxy_Visit proxy(slot);
|
||||
- GnomeVFSResult result = gnome_vfs_directory_visit_uri(const_cast<GnomeVFSURI*>(uri->gobj()), static_cast<GnomeVFSFileInfoOptions>(info_options), static_cast<GnomeVFSDirectoryVisitOptions>(visit_options), &SignalProxy_Visit::c_callback, &proxy);
|
||||
+ GnomeVFSResult result = gnome_vfs_directory_visit_uri(const_cast<GnomeVFSURI*>(uri->gobj()), GnomeVFSFileInfoOptions(info_options), GnomeVFSDirectoryVisitOptions(visit_options), &SignalProxy_Visit::c_callback, &proxy);
|
||||
handle_result(result);
|
||||
}
|
||||
|
@ -0,0 +1,20 @@
|
||||
--- libgnomevfs/libgnomevfsmm/handle.cc.orig Thu Jun 19 11:46:18 2003
|
||||
+++ libgnomevfs/libgnomevfsmm/handle.cc Thu Jun 19 11:46:58 2003
|
||||
@@ -108,7 +108,7 @@
|
||||
Glib::RefPtr<FileInfo> Handle::get_file_info(const Glib::ustring& text_uri, FileInfoOptions options) throw(exception)
|
||||
{
|
||||
GnomeVFSFileInfo* file_info = gnome_vfs_file_info_new();
|
||||
- GnomeVFSResult result = gnome_vfs_get_file_info(text_uri.c_str(), file_info, static_cast<GnomeVFSFileInfoOptions>(options));
|
||||
+ GnomeVFSResult result = gnome_vfs_get_file_info(text_uri.c_str(), file_info, GnomeVFSFileInfoOptions(options));
|
||||
handle_result(result);
|
||||
return Glib::wrap(file_info);
|
||||
}
|
||||
@@ -116,7 +116,7 @@
|
||||
Glib::RefPtr<FileInfo> Handle::get_file_info(FileInfoOptions options) const throw(exception)
|
||||
{
|
||||
GnomeVFSFileInfo* file_info = gnome_vfs_file_info_new();
|
||||
- GnomeVFSResult result = gnome_vfs_get_file_info_from_handle(const_cast<GnomeVFSHandle*>(gobj()), file_info, static_cast<GnomeVFSFileInfoOptions>(options));
|
||||
+ GnomeVFSResult result = gnome_vfs_get_file_info_from_handle(const_cast<GnomeVFSHandle*>(gobj()), file_info, GnomeVFSFileInfoOptions(options));
|
||||
handle_result(result);
|
||||
return Glib::wrap(file_info);
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
--- libgnomevfs/libgnomevfsmm/uri.cc.orig Thu Jun 19 11:25:08 2003
|
||||
+++ libgnomevfs/libgnomevfsmm/uri.cc Thu Jun 19 11:44:28 2003
|
||||
@@ -66,7 +66,7 @@
|
||||
Glib::RefPtr<FileInfo> Uri::get_file_info(FileInfoOptions options) const throw(exception)
|
||||
{
|
||||
GnomeVFSFileInfo* file_info = gnome_vfs_file_info_new();
|
||||
- GnomeVFSResult result = gnome_vfs_get_file_info_uri(const_cast<GnomeVFSURI*>(gobj()), file_info, static_cast<GnomeVFSFileInfoOptions>(options));
|
||||
+ GnomeVFSResult result = gnome_vfs_get_file_info_uri(const_cast<GnomeVFSURI*>(gobj()), file_info, GnomeVFSFileInfoOptions(options));
|
||||
handle_result(result);
|
||||
return Glib::wrap(file_info);
|
||||
}
|
Loading…
Reference in New Issue
Block a user