Skip to content

Commit

Permalink
EomImage: Remove unused constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
debarshiray authored and raveit65 committed Dec 15, 2018
1 parent 8b30706 commit 0d1a90a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 14 deletions.
12 changes: 0 additions & 12 deletions src/eom-image.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
2 changes: 0 additions & 2 deletions src/eom-image.h
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 0d1a90a

Please sign in to comment.