[PATCH 1/3] doc: Added grl_init call
- From: Simón Pena <spenap gmail com>
- To: grilo-list gnome org
- Subject: [PATCH 1/3] doc: Added grl_init call
- Date: Wed, 7 Jul 2010 18:12:41 +0200
Replaced g_type_init with grl_init in the examples provided
---
doc/reference/quick-start-using-grilo.xml | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/doc/reference/quick-start-using-grilo.xml b/doc/reference/quick-start-using-grilo.xml
index 265c091..e8e593c 100644
--- a/doc/reference/quick-start-using-grilo.xml
+++ b/doc/reference/quick-start-using-grilo.xml
@@ -104,7 +104,7 @@ main (int argc, gchar *argv[])
{
GMainLoop *loop;
- g_type_init ();
+ grl_init (&argc, &argv);
grl_log_init ("example:*"); /* Filter debug output */
load_plugins (); /* Load Grilo plugins */
@@ -242,7 +242,7 @@ gint
main (int argc, gchar *argv[])
{
GMainLoop *loop;
- g_type_init ();
+ grl_init (&argc, &argv);
grl_log_init ("example:*");
load_plugins ();
loop = g_main_loop_new (NULL, FALSE);
@@ -351,7 +351,7 @@ gint
main (int argc, gchar *argv[])
{
GMainLoop *loop;
- g_type_init ();
+ grl_init (&argc, &argv);
grl_log_init ("example:*");
load_plugins ();
loop = g_main_loop_new (NULL, FALSE);
@@ -553,7 +553,7 @@ gint
main (int argc, gchar *argv[])
{
GMainLoop *loop;
- g_type_init ();
+ grl_init (&argc, &argv);
if (argc != 2) {
g_print ("Please specify id of the source to search " \
--
1.7.0.4
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]