From 0d1a90aa582176009a9b7b21eef8c6585db70a0a 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(-) 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 @@ -320,18 +320,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 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, -- cgit v1.2.1