[totem] build: Adjust data/desktop.sh to avoid warning



commit f4e133633cea5f70704d90f3800792e422d29f9c
Author: Jeremy Bicha <jbicha ubuntu com>
Date:   Fri Jan 11 16:39:56 2019 -0500

    build: Adjust data/desktop.sh to avoid warning
    
    $ ninja -C . totem-pot
    totem/data/org.gnome.Totem.desktop.in.in:19:0: warning: invalid non-blank line
    
    Thanks Iñigo Martínez for the suggestion.

 data/desktop.sh                    | 1 -
 data/org.gnome.Totem.desktop.in.in | 2 +-
 2 files changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/data/desktop.sh b/data/desktop.sh
index 925f6070..dfc1f495 100755
--- a/data/desktop.sh
+++ b/data/desktop.sh
@@ -9,7 +9,6 @@ echo_handler () {
 }
 
 MIMETYPES=`grep -v ^# $1`
-printf MimeType=;
 for i in $MIMETYPES ; do
        echo_mime;
 done
diff --git a/data/org.gnome.Totem.desktop.in.in b/data/org.gnome.Totem.desktop.in.in
index 9cc4dacb..61ec6ae7 100644
--- a/data/org.gnome.Totem.desktop.in.in
+++ b/data/org.gnome.Totem.desktop.in.in
@@ -17,4 +17,4 @@ X-GNOME-Bugzilla-Component=general
 X-GNOME-Bugzilla-Version=@VERSION@
 X-GNOME-Bugzilla-OtherBinaries=totem-video-thumbnailer;
 StartupNotify=true
-@MIME_TYPE@
+MimeType=@MIME_TYPE@


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]