[rhythmbox] fix the podcast parser test program (needed g_type_init)



commit d636206014842cb275f6431c2dcbd41be93535ff
Author: Jonathan Matthew <jonathan d14n org>
Date:   Sun May 24 10:55:39 2009 +1000

    fix the podcast parser test program (needed g_type_init)
---
 podcast/test-podcast-parse.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/podcast/test-podcast-parse.c b/podcast/test-podcast-parse.c
index b85f686..f45431a 100644
--- a/podcast/test-podcast-parse.c
+++ b/podcast/test-podcast-parse.c
@@ -29,6 +29,7 @@
 
 #include <locale.h>
 #include <glib.h>
+#include <glib-object.h>
 #include <glib/gi18n.h>
 
 #include "rb-podcast-parse.h"
@@ -73,6 +74,7 @@ int main (int argc, char **argv)
 	char datebuf[1024];
 	GError *error = NULL;
 
+	g_type_init ();
 	setlocale (LC_ALL, "");
 	bindtextdomain (GETTEXT_PACKAGE, GNOMELOCALEDIR);
 	bind_textdomain_codeset (GETTEXT_PACKAGE, "UTF-8");



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