From e3cb374d82809e26582d5b60374baef4474d5773 Mon Sep 17 00:00:00 2001 From: Debarshi Ray Date: Thu, 7 Apr 2016 09:27:06 +0200 Subject: EomImage: Remove unused constructor https://bugzilla.gnome.org/show_bug.cgi?id=764139 origin commit: https://gitlab.gnome.org/GNOME/eog/commit/14401d33 --- src/eom-image.c | 12 ------------ src/eom-image.h | 2 -- 2 files changed, 14 deletions(-) (limited to 'src') 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 @@ -314,18 +314,6 @@ eom_image_init (EomImage *img) #endif } -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) { 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, -- cgit v1.2.1