File libchamplain-0.8.3-glib.patch of Package mingw32-libchamplain

--- libchamplain-0.8.3/demos/animated-marker.c	2011-03-30 23:41:54.000000000 +0200
+++ libchamplain-0.8.3/demos/animated-marker.c	2012-04-24 10:31:44.806084599 +0200
@@ -123,7 +123,6 @@
   ChamplainLayer *layer;
   GpsCallbackData callback_data;
 
-  g_thread_init (NULL);
   clutter_init (&argc, &argv);
 
   stage = clutter_stage_get_default ();
--- libchamplain-0.8.3/demos/launcher.c	2011-03-30 23:41:54.000000000 +0200
+++ libchamplain-0.8.3/demos/launcher.c	2012-04-24 10:31:33.681362957 +0200
@@ -93,7 +93,6 @@
   ChamplainLayer *layer;
   gfloat width, total_width = 0;
 
-  g_thread_init (NULL);
   clutter_init (&argc, &argv);
 
   stage = clutter_stage_get_default ();
--- libchamplain-0.8.3/demos/launcher-gtk.c	2011-03-30 23:41:54.000000000 +0200
+++ libchamplain-0.8.3/demos/launcher-gtk.c	2012-04-24 10:31:26.980530679 +0200
@@ -207,7 +207,6 @@
   ChamplainView *view;
   ChamplainLayer *layer;
 
-  g_thread_init (NULL);
   gtk_clutter_init (&argc, &argv);
 
   /* create the main, top level, window */
--- libchamplain-0.8.3/demos/local-rendering.c	2011-03-30 23:41:54.000000000 +0200
+++ libchamplain-0.8.3/demos/local-rendering.c	2012-04-24 10:31:19.808710193 +0200
@@ -725,7 +725,6 @@
 {
   GtkWidget *widget, *hbox, *bbox, *menubox, *button, *viewport, *label;
 
-  g_thread_init (NULL);
   gtk_clutter_init (&argc, &argv);
 
   /* create the main, top level, window */
--- libchamplain-0.8.3/demos/minimal.c	2011-03-19 02:08:05.000000000 +0100
+++ libchamplain-0.8.3/demos/minimal.c	2012-04-24 10:27:04.285103958 +0200
@@ -23,7 +23,6 @@
 {
   ClutterActor *actor, *stage;
 
-  g_thread_init (NULL);
   clutter_init (&argc, &argv);
 
   stage = clutter_stage_get_default ();
--- libchamplain-0.8.3/demos/minimal-gtk.c	2011-03-19 02:08:05.000000000 +0100
+++ libchamplain-0.8.3/demos/minimal-gtk.c	2012-04-24 10:31:08.854984298 +0200
@@ -29,7 +29,6 @@
   GtkWidget *window, *widget;
 
   /* initialize threads and clutter */
-  g_thread_init (NULL);
   gtk_clutter_init (&argc, &argv);
 
   /* create the top-level window and quit the main loop when it's closed */
--- libchamplain-0.8.3/demos/polygons.c	2011-03-30 23:41:54.000000000 +0200
+++ libchamplain-0.8.3/demos/polygons.c	2012-04-24 10:31:00.038204995 +0200
@@ -74,7 +74,6 @@
   ChamplainPolygon *polygon;
   gfloat width, total_width = 0;;
 
-  g_thread_init (NULL);
   clutter_init (&argc, &argv);
 
   stage = clutter_stage_get_default ();
--- libchamplain-0.8.3/demos/url-marker.c	2011-03-30 23:41:54.000000000 +0200
+++ libchamplain-0.8.3/demos/url-marker.c	2012-04-24 10:30:51.616415754 +0200
@@ -244,7 +244,6 @@
   ChamplainLayer *layer;
   SoupSession *session;
 
-  g_thread_init (NULL);
   clutter_init (&argc, &argv);
 
   stage = clutter_stage_get_default ();
openSUSE Build Service is sponsored by