summaryrefslogtreecommitdiff
path: root/src/eom-jobs.c
diff options
context:
space:
mode:
authorinfirit <[email protected]>2014-07-29 23:07:31 +0200
committerinfirit <[email protected]>2014-07-29 23:15:21 +0200
commite4d01d7b58101e35461f5251f842bfd204a4be29 (patch)
treec0a86e28dc5f2c2ff6923037b8cee48f3d3b5bd5 /src/eom-jobs.c
parentf8e85177acadfa4d1cfea8ff0987efb12927f97e (diff)
downloadeom-e4d01d7b58101e35461f5251f842bfd204a4be29.tar.bz2
eom-e4d01d7b58101e35461f5251f842bfd204a4be29.tar.xz
all: Fix a load of warnings
Partly based on eog commit 3859553433838e97367e7678f9da4ba2bcc7f973 From Cosimo Cecchi <[email protected]>
Diffstat (limited to 'src/eom-jobs.c')
-rw-r--r--src/eom-jobs.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/src/eom-jobs.c b/src/eom-jobs.c
index d5a7a1d..cba47f9 100644
--- a/src/eom-jobs.c
+++ b/src/eom-jobs.c
@@ -346,23 +346,8 @@ eom_job_load_run (EomJob *job)
static void eom_job_model_init (EomJobModel *job) { /* Do Nothing */ }
static void
-eom_job_model_dispose (GObject *object)
-{
- EomJobModel *job;
-
- job = EOM_JOB_MODEL (object);
-
- (* G_OBJECT_CLASS (eom_job_model_parent_class)->dispose) (object);
-}
-
-static void
eom_job_model_class_init (EomJobModelClass *class)
{
- GObjectClass *oclass;
-
- oclass = G_OBJECT_CLASS (class);
-
- oclass->dispose = eom_job_model_dispose;
EOM_JOB_CLASS (class)->run = eom_job_model_run;
}
@@ -880,7 +865,6 @@ eom_job_copy_run (EomJob *ejob)
{
EomJobCopy *job;
GList *it;
- guint n_images;
GFile *src, *dest;
gchar *filename, *dest_filename;
@@ -888,8 +872,6 @@ eom_job_copy_run (EomJob *ejob)
job = EOM_JOB_COPY (ejob);
- n_images = g_list_length (job->images);
-
job->current_pos = 0;
for (it = job->images; it != NULL; it = g_list_next (it), job->current_pos++) {