~ubuntu-branches/ubuntu/raring/grilo/raring-proposed

« back to all changes in this revision

Viewing changes to src/grl-source.c

  • Committer: Package Import Robot
  • Author(s): Alberto Garcia
  • Date: 2012-12-01 13:22:37 UTC
  • mfrom: (1.1.8)
  • Revision ID: package-import@ubuntu.com-20121201132237-gktet8hvxd6btaz0
Tags: 0.2.4-1
New upstream release.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1994
1994
compare_queue_element (QueueElement *qelement,
1995
1995
                       GrlMedia *media)
1996
1996
{
1997
 
  return qelement->media < media;
 
1997
  return qelement->media != media;      //return 0 when equal
1998
1998
}
1999
1999
 
2000
2000
static void
2204
2204
  }
2205
2205
 
2206
2206
  /* Set the source */
2207
 
  if (media) {
 
2207
  if (media && !grl_media_get_source (media)) {
2208
2208
    grl_media_set_source (media, grl_source_get_id (source));
2209
2209
  }
2210
2210