~ubuntu-branches/ubuntu/vivid/liferea/vivid-proposed

« back to all changes in this revision

Viewing changes to src/parsers/ns_photo.c

  • Committer: Package Import Robot
  • Author(s): bojo42
  • Date: 2012-03-29 14:17:21 UTC
  • mfrom: (1.3.9) (3.2.5 sid)
  • Revision ID: package-import@ubuntu.com-20120329141721-tbfopcrc5797wxt7
Tags: 1.8.3-0.1ubuntu1
* New upstream release (LP: #290666, #371754, #741543, #716688)
* Merge from Debian unstable (LP: #935147), remaining changes:
* debian/patches:
  - drop gtk-status-icon.patch & notification-append as in upstream
  - drop fix_systray_behavior as mostly upstreamed and rest seems unused
  - 01_ubuntu_feedlists: update & rename, move planets to "Open Source"  
  - add_X-Ubuntu-Gettext-Domain: rebase
  - libunity.patch: rebase, apply before indicator patch (liferea_shell.c)
  - libindicate_increase_version.patch: exclude from libindicate.patch
  - deactivate libindicate.patch, seems partly upstreamed and needs rework
* debian/control: libindicate-dev, libindicate-gtk-dev & libunity-dev
* debian/liferea.indicate & liferea.install: ship indicator desktop file
* debian/rules: enable libindicate

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
        
34
34
        if (!xmlStrcmp (BAD_CAST"thumbnail", cur->name) || 
35
35
            !xmlStrcmp (BAD_CAST"thumb", cur->name)) {
36
 
                tmp = common_utf8_fix((gchar *)xmlNodeListGetString(cur->doc, cur->xmlChildrenNode, 1));
 
36
                tmp = (gchar *)xmlNodeListGetString(cur->doc, cur->xmlChildrenNode, 1);
37
37
                if (tmp) {
38
38
                        if (g_utf8_strlen (tmp, -1) > 0)
39
39
                                g_hash_table_insert (ctxt->item->tmpdata, "photo:thumbnail", tmp);
41
41
                                g_free (tmp);
42
42
                }
43
43
        } else if (!xmlStrcmp (BAD_CAST"imgsrc", cur->name)) {
44
 
                tmp = common_utf8_fix((gchar *)xmlNodeListGetString(cur->doc, cur->xmlChildrenNode, 1));
 
44
                tmp = (gchar *)xmlNodeListGetString(cur->doc, cur->xmlChildrenNode, 1);
45
45
                if (tmp) {
46
46
                        if (g_utf8_strlen (tmp, -1) > 0)
47
47
                                g_hash_table_insert (ctxt->item->tmpdata, "photo:imgsrc", tmp);