summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDebarshi Ray <[email protected]>2016-04-07 09:27:06 +0200
committerraveit65 <[email protected]>2018-12-15 14:30:15 +0100
commit0d1a90aa582176009a9b7b21eef8c6585db70a0a (patch)
treeea9aa3588c9c3bc0b5ee12bd9814383c02c550bc /src
parent8b30706a03856d9ee39934583a7131f901b2e055 (diff)
downloadeom-0d1a90aa582176009a9b7b21eef8c6585db70a0a.tar.bz2
eom-0d1a90aa582176009a9b7b21eef8c6585db70a0a.tar.xz
EomImage: Remove unused constructor
https://bugzilla.gnome.org/show_bug.cgi?id=764139 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/14401d33
Diffstat (limited to 'src')
-rw-r--r--src/eom-image.c12
-rw-r--r--src/eom-image.h2
2 files changed, 0 insertions, 14 deletions
diff --git a/src/eom-image.c b/src/eom-image.c
index 1f8d6f2..c17bd71 100644
--- a/src/eom-image.c
+++ b/src/eom-image.c
@@ -321,18 +321,6 @@ eom_image_init (EomImage *img)
}
EomImage *
-eom_image_new (const char *txt_uri)
-{
- EomImage *img;
-
- img = EOM_IMAGE (g_object_new (EOM_TYPE_IMAGE, NULL));
-
- img->priv->file = g_file_new_for_uri (txt_uri);
-
- return img;
-}
-
-EomImage *
eom_image_new_file (GFile *file)
{
EomImage *img;
diff --git a/src/eom-image.h b/src/eom-image.h
index 74abdc5..4a36dec 100644
--- a/src/eom-image.h
+++ b/src/eom-image.h
@@ -121,8 +121,6 @@ GType eom_image_get_type (void) G_GNUC_CONST;
GQuark eom_image_error_quark (void);
-EomImage *eom_image_new (const char *txt_uri);
-
EomImage *eom_image_new_file (GFile *file);
gboolean eom_image_load (EomImage *img,