From f7d5d195e8f5442adf0284bdb1c1f612a484761b Mon Sep 17 00:00:00 2001 From: Alexey Yakovenko Date: Sat, 12 Jun 2010 11:04:25 +0200 Subject: fixed some warnings and .desktop --- deadbeef.desktop.in | 2 +- messagepump.c | 1 + playlist.c | 1 + plugins/gtkui/callbacks.c | 1 + 4 files changed, 4 insertions(+), 1 deletion(-) diff --git a/deadbeef.desktop.in b/deadbeef.desktop.in index 3150f570..6e4ba8c9 100644 --- a/deadbeef.desktop.in +++ b/deadbeef.desktop.in @@ -5,7 +5,7 @@ GenericName=Audio Player Comment=Listen to music Exec=deadbeef %F MimeType=application/ogg;audio/x-vorbis+ogg;application/x-ogg;audio/mp3;audio/prs.sid;audio/x-flac;audio/mpeg;audio/x-mpeg;audio/x-mod;audio/x-it;audio/x-s3m;audio/x-xm; -Categories=AudioVideo;Player; +Categories=AudioVideo;Player;GTK; Terminal=false Type=Application Icon=deadbeef diff --git a/messagepump.c b/messagepump.c index 2c93eb45..f5eea2ce 100644 --- a/messagepump.c +++ b/messagepump.c @@ -42,6 +42,7 @@ int messagepump_init (void) { messagepump_reset (); mutex = mutex_create (); + return 0; } void diff --git a/playlist.c b/playlist.c index 288c5224..b24749ee 100644 --- a/playlist.c +++ b/playlist.c @@ -97,6 +97,7 @@ pl_init (void) { mutex = mutex_create (); mutex_plt = mutex_create (); #endif + return 0; } void diff --git a/plugins/gtkui/callbacks.c b/plugins/gtkui/callbacks.c index 81183a66..01bbf162 100644 --- a/plugins/gtkui/callbacks.c +++ b/plugins/gtkui/callbacks.c @@ -108,6 +108,7 @@ set_file_filter (GtkWidget *dlg, const char *name) { gtk_file_filter_set_name (flt, _("Other files (*)")); gtk_file_filter_add_pattern (flt, "*"); gtk_file_chooser_add_filter (GTK_FILE_CHOOSER (dlg), flt); + return flt; } void -- cgit v1.2.3