[Xfce4-commits] [apps/xfce4-screenshooter] 04/06: Remove g_thread_init() calls, unneeded those days

noreply at xfce.org noreply at xfce.org
Tue Dec 16 21:38:09 CET 2014


This is an automated email from the git hooks/post-receive script.

landry pushed a commit to branch master
in repository apps/xfce4-screenshooter.

commit 0b98a86706f8c5f6f4d03d038db3f580c9e46337
Author: Landry Breuil <landry at xfce.org>
Date:   Tue Dec 16 21:34:26 2014 +0100

    Remove g_thread_init() calls, unneeded those days
---
 panel-plugin/screenshooter-plugin.c |    2 --
 src/main.c                          |    3 ---
 2 files changed, 5 deletions(-)

diff --git a/panel-plugin/screenshooter-plugin.c b/panel-plugin/screenshooter-plugin.c
index 50cefa8..bb08dc4 100644
--- a/panel-plugin/screenshooter-plugin.c
+++ b/panel-plugin/screenshooter-plugin.c
@@ -343,8 +343,6 @@ screenshooter_plugin_construct (XfcePanelPlugin *plugin)
   ScreenshotData *sd = g_new0 (ScreenshotData, 1);
   GFile *default_save_dir;
 
-  g_thread_init (NULL);
-
   pd->sd = sd;
   pd->plugin = plugin;
 
diff --git a/src/main.c b/src/main.c
index d2cfcf8..c677165 100644
--- a/src/main.c
+++ b/src/main.c
@@ -269,9 +269,6 @@ int main (int argc, char **argv)
   if (mouse && !(fullscreen || window || region))
     g_printerr (ignore_error, "mouse");
 
-  if (!g_thread_supported ())
-    g_thread_init (NULL);
-
   /* Just print the version if we are in version mode */
   if (version)
     {

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list