[eog] EogImage: Remove unused constructor



commit 14401d33e74946f0833e040434713da12745ef58
Author: Debarshi Ray <debarshir gnome org>
Date:   Thu Apr 7 09:27:06 2016 +0200

    EogImage: Remove unused constructor
    
    https://bugzilla.gnome.org/show_bug.cgi?id=764139

 src/eog-image.c |   12 ------------
 src/eog-image.h |    2 --
 2 files changed, 0 insertions(+), 14 deletions(-)
---
diff --git a/src/eog-image.c b/src/eog-image.c
index 0d6e091..5dc833a 100644
--- a/src/eog-image.c
+++ b/src/eog-image.c
@@ -332,18 +332,6 @@ eog_image_init (EogImage *img)
 }
 
 EogImage *
-eog_image_new (const char *txt_uri)
-{
-       EogImage *img;
-
-       img = EOG_IMAGE (g_object_new (EOG_TYPE_IMAGE, NULL));
-
-       img->priv->file = g_file_new_for_uri (txt_uri);
-
-       return img;
-}
-
-EogImage *
 eog_image_new_file (GFile *file)
 {
        EogImage *img;
diff --git a/src/eog-image.h b/src/eog-image.h
index de8feba..d344462 100644
--- a/src/eog-image.h
+++ b/src/eog-image.h
@@ -118,8 +118,6 @@ GType                 eog_image_get_type                 (void) G_GNUC_CONST;
 
 GQuark            eog_image_error_quark              (void);
 
-EogImage         *eog_image_new                      (const char *txt_uri);
-
 EogImage         *eog_image_new_file                 (GFile *file);
 
 gboolean          eog_image_load                     (EogImage   *img,


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]