[libgrss] removed deprecated g_type_init() from examples
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgrss] removed deprecated g_type_init() from examples
- Date: Wed, 14 Jan 2015 01:21:05 +0000 (UTC)
commit 42148fc04200b9a1afdd7cbdd532a278d3fe9dfb
Author: Roberto Guido <rguido src gnome org>
Date: Wed Jan 14 02:10:53 2015 +0100
removed deprecated g_type_init() from examples
examples/async-fetcher.c | 2 --
examples/fetcher.c | 2 --
examples/file-publisher.c | 2 --
examples/parse-outlines.c | 2 --
examples/subscriber.c | 2 --
5 files changed, 0 insertions(+), 10 deletions(-)
---
diff --git a/examples/async-fetcher.c b/examples/async-fetcher.c
index b8ac500..56253a7 100644
--- a/examples/async-fetcher.c
+++ b/examples/async-fetcher.c
@@ -72,8 +72,6 @@ static gboolean do_work (gpointer useless)
int main ()
{
- g_type_init ();
-
loop = g_main_loop_new (NULL, FALSE);
g_idle_add (do_work, NULL);
diff --git a/examples/fetcher.c b/examples/fetcher.c
index 98711ab..e894283 100644
--- a/examples/fetcher.c
+++ b/examples/fetcher.c
@@ -55,8 +55,6 @@ int main ()
GrssFeedChannel *feed;
GrssFeedsPool *pool;
- g_type_init ();
-
list = NULL;
for (i = 0; example_feeds [i] != NULL; i++) {
diff --git a/examples/file-publisher.c b/examples/file-publisher.c
index 7241246..4393b70 100644
--- a/examples/file-publisher.c
+++ b/examples/file-publisher.c
@@ -29,8 +29,6 @@ int main ()
GrssFeedItem *item;
GrssFeedsPublisher *publisher;
- g_type_init ();
-
list = NULL;
feed = grss_feed_channel_new ();
diff --git a/examples/parse-outlines.c b/examples/parse-outlines.c
index de7d9df..d632b94 100644
--- a/examples/parse-outlines.c
+++ b/examples/parse-outlines.c
@@ -42,8 +42,6 @@ main (int argc, char **argv)
exit (1);
}
- g_type_init ();
-
parser = grss_feeds_group_new ();
error = NULL;
diff --git a/examples/subscriber.c b/examples/subscriber.c
index 8aa7b3b..5faedc1 100644
--- a/examples/subscriber.c
+++ b/examples/subscriber.c
@@ -54,8 +54,6 @@ main ()
GrssFeedChannel *feed;
GrssFeedsSubscriber *sub;
- g_type_init ();
-
list = NULL;
printf ("Initing, please wait...\n");
printf ("... fetching feeds...\n");
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]