[gnac/devel] Code cleanup
- From: Benoît Dupasquier <bdupasqu src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnac/devel] Code cleanup
- Date: Sat, 6 Nov 2010 19:05:57 +0000 (UTC)
commit 0488ceca24eeb629c51131149417891f835e411e
Author: Benoît Dupasquier <bdupasqu src gnome org>
Date: Sat Nov 6 19:05:51 2010 +0000
Code cleanup
libgnac/libgnac-converter.c | 1 -
src/gnac-main.c | 3 ++-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libgnac/libgnac-converter.c b/libgnac/libgnac-converter.c
index c6b470c..acb67e2 100644
--- a/libgnac/libgnac-converter.c
+++ b/libgnac/libgnac-converter.c
@@ -696,7 +696,6 @@ libgnac_converter_add(LibgnacConverter *self,
gchar *uri;
gchar *dup_uri;
-
g_return_if_fail(LIBGNAC_IS_CONVERTER(self));
g_return_if_fail(error == NULL || *error == NULL);
diff --git a/src/gnac-main.c b/src/gnac-main.c
index 57b588e..a796fd7 100644
--- a/src/gnac-main.c
+++ b/src/gnac-main.c
@@ -315,7 +315,8 @@ gnac_add_file(GFile *file)
if (gnac_playlist_is_mime_playlist(filter_info.mime_type)) {
gnac_playlist_parse(file, filter_info.mime_type);
/* Check whether the file format is supported */
- } else if (gtk_file_filter_filter(gnac_ui_get_current_filter(),
+ /* FIXME this should be done in libgnac with gstreamer */
+ } else if (gtk_file_filter_filter(gnac_ui_get_default_filter(),
&filter_info))
{
libgnac_info("Add file %s", uri);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]