[gnome-commander] Remove not needed GnomeCmdConHome method for creating a home URI
- From: Uwe Scholz <uwescholz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-commander] Remove not needed GnomeCmdConHome method for creating a home URI
- Date: Sun, 19 Sep 2021 20:47:04 +0000 (UTC)
commit 5a8cd795b6d8df4e9fe3cdce8bb60c4626305c53
Author: Uwe Scholz <u scholz83 gmx de>
Date: Sun Sep 19 22:46:53 2021 +0200
Remove not needed GnomeCmdConHome method for creating a home URI
src/gnome-cmd-con-home.cc | 11 -----------
1 file changed, 11 deletions(-)
---
diff --git a/src/gnome-cmd-con-home.cc b/src/gnome-cmd-con-home.cc
index 9d863840..34645ea3 100644
--- a/src/gnome-cmd-con-home.cc
+++ b/src/gnome-cmd-con-home.cc
@@ -56,16 +56,6 @@ static gboolean home_open_is_needed (GnomeCmdCon *con)
}
-static GnomeVFSURI *home_create_uri (GnomeCmdCon *con, GnomeCmdPath *path)
-{
- GnomeVFSURI *u1 = gnome_vfs_uri_new ("file:");
- GnomeVFSURI *u2 = gnome_vfs_uri_append_path (u1, path->get_path());
- gnome_vfs_uri_unref (u1);
-
- return u2;
-}
-
-
static GFile *home_create_gfile (GnomeCmdCon *con, GnomeCmdPath *path)
{
return g_file_new_for_path(path->get_path());
@@ -109,7 +99,6 @@ static void class_init (GnomeCmdConHomeClass *klass)
con_class->close = home_close;
con_class->cancel_open = home_cancel_open;
con_class->open_is_needed = home_open_is_needed;
- con_class->create_uri = home_create_uri;
con_class->create_gfile = home_create_gfile;
con_class->create_path = home_create_path;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]