~ci-train-bot/qmenumodel/qmenumodel-ubuntu-zesty-2106

« back to all changes in this revision

Viewing changes to libqmenumodel/src/unitymenumodel.cpp

  • Committer: CI bot
  • Author(s): Nick Dedekind
  • Date: 2014-08-15 16:01:50 UTC
  • mfrom: (110.1.1 qmenumodel)
  • Revision ID: ps-jenkins@lists.canonical.com-20140815160150-q4boxvmeh8ze5rwo
Allow remote URIs to be used from file serialized icons 
Approved by: Sergio Schvezov, PS Jenkins bot

Show diffs side-by-side

added added

removed removed

Lines of Context:
385
385
        GFile *file;
386
386
 
387
387
        file = g_file_icon_get_file (G_FILE_ICON (icon));
388
 
        if (g_file_is_native (file)) {
 
388
        if (file) {
389
389
            gchar *fileuri;
390
390
 
391
391
            fileuri = g_file_get_uri (file);