summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-06-12 11:04:25 +0200
committerGravatar Alexey Yakovenko <wakeroid@gmail.com>2010-06-12 11:04:25 +0200
commitf7d5d195e8f5442adf0284bdb1c1f612a484761b (patch)
treed31f3c665e74e8c6a0d4b1c825cf87158dcebdf3
parentb50208c96cc68f6ae1f20d1c4d250572fb0637c4 (diff)
fixed some warnings and .desktop
-rw-r--r--deadbeef.desktop.in2
-rw-r--r--messagepump.c1
-rw-r--r--playlist.c1
-rw-r--r--plugins/gtkui/callbacks.c1
4 files changed, 4 insertions, 1 deletions
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