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 Aug 24, 2018
1 parent f4d798a commit e3cb374
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 Original file line Diff line number Diff line change
Expand Up @@ -314,18 +314,6 @@ eom_image_init (EomImage *img)
#endif #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 * EomImage *
eom_image_new_file (GFile *file) eom_image_new_file (GFile *file)
{ {
Expand Down
2 changes: 0 additions & 2 deletions src/eom-image.h
Original file line number Original file line 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); GQuark eom_image_error_quark (void);


EomImage *eom_image_new (const char *txt_uri);

EomImage *eom_image_new_file (GFile *file); EomImage *eom_image_new_file (GFile *file);


gboolean eom_image_load (EomImage *img, gboolean eom_image_load (EomImage *img,
Expand Down

0 comments on commit e3cb374

Please sign in to comment.