~ubuntu-branches/ubuntu/maverick/liferea/maverick

« back to all changes in this revision

Viewing changes to src/ui/ui_itemlist.c

  • Committer: Bazaar Package Importer
  • Author(s): Steve Kowalik
  • Date: 2008-06-23 12:44:17 UTC
  • mfrom: (1.2.52 upstream)
  • Revision ID: james.westby@ubuntu.com-20080623124417-o4klc8dom3qwd7wn
Tags: 1.4.16b-0.1ubuntu1
* Merge from Debian unstable.
* Remaining Ubuntu changes:
  - Change Build-Depends from xulrunner-dev to xulrunner-1.9-dev.
  - Add intltool to Build-Depends.
  - Fix systray mis-behaviour when Liferea is visible in another workspace.
  - Add Hildonisation from Frothing as a patch.
  - Add libhildon-1-dev Build-Depends for lpia.
  - --enable-maemo when building on lpia.
  - Call intltool-update -p to generate translation template for Rosetta.
  - Do not build transitional packages (not required due to Conflicts/
    Provides/Replaces).
  - Build-depend on liblualib50-dev instead of liblua5.1-0-dev.
  - Do not build webkit package.
  - Munge Maintainer field as per spec.
* Ubuntu changes dropped:
  - mobile.desktop, it isn't needed any more.
  - Added xulrunner-1.9 to liferea dependencies.
  - Quilt changes.
* Edit xulrunner-1.9 patch to not patch configure, handle that in
  99_autoconf.

Show diffs side-by-side

added added

removed removed

Lines of Context:
622
622
                valid = ui_item_id_to_iter(startId, &iter);
623
623
        else
624
624
                valid = gtk_tree_model_get_iter_first(GTK_TREE_MODEL(itemstore), &iter);
 
625
                
 
626
        if (!valid)
 
627
                g_warning ("Fatal: ui_itemlist_find_unread_item() could not determine start GtkTreeIter!");
625
628
        
626
629
        while(valid) {
627
630
                itemPtr item;
630
633
                        if (!item->readStatus)
631
634
                                return item;
632
635
                        item_unload (item);
 
636
                } else {
 
637
                        g_warning ("Fatal: ui_itemlist_find_unread_item(): invalid GtkTreeIter in lookup hash!");
633
638
                }
634
639
                valid = gtk_tree_model_iter_next(GTK_TREE_MODEL(itemstore), &iter);
635
640
        }