summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDebarshi Ray <[email protected]>2016-04-07 09:27:06 +0200
committerraveit65 <[email protected]>2018-08-24 08:36:14 +0200
commite3cb374d82809e26582d5b60374baef4474d5773 (patch)
tree70791bbb8d207ffcd9889544d31a8c4659008db0 /src
parentf4d798ab5f6ba743b115e27c3f28c27181b7450f (diff)
downloadeom-e3cb374d82809e26582d5b60374baef4474d5773.tar.bz2
eom-e3cb374d82809e26582d5b60374baef4474d5773.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 5db3699..85d4f9a 100644
--- a/src/eom-image.c
+++ b/src/eom-image.c
@@ -315,18 +315,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 41b8fbc..0ccd81e 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,