From 140f7a4d064f2d97b7022a1e77efbf66b1676ad5 Mon Sep 17 00:00:00 2001 From: Qball Cow Date: Wed, 1 Jul 2009 18:18:44 +0200 Subject: [PATCH] Fix .desktop file --- data/gpxviewer.desktop.in | 11 ++++++----- src/gpx-viewer.c | 1 + 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/data/gpxviewer.desktop.in b/data/gpxviewer.desktop.in index bb75196..137d6b4 100644 --- a/data/gpxviewer.desktop.in +++ b/data/gpxviewer.desktop.in @@ -1,9 +1,10 @@ [Desktop Entry] -_Name=Gnome Music Player Client -_Comment=A gnome frontend for the mpd daemon -Exec=gmpc +_Name=Gpx Viewer +_Comment=A simple program to visualize one or more gpx files. +Exec=gpxviewer %U +MimeType=application/gpx+xml; Terminal=false Type=Application -Icon=gmpc -Categories=GNOME;AudioVideo; +Icon=gpx-viewer +Categories=GNOME;GTK;Utility; StartupNotify=true diff --git a/src/gpx-viewer.c b/src/gpx-viewer.c index 754ddb4..5243d7a 100644 --- a/src/gpx-viewer.c +++ b/src/gpx-viewer.c @@ -37,6 +37,7 @@ void on_destroy(void) { printf("Quit...\n"); gtk_main_quit(); + g_object_unref(builder); } void interface_update_heading(GtkBuilder *builder, GpxTrack *track) -- 2.11.4.GIT