[Xfce4-commits] [thunar-plugins/thunar-vcs-plugin] 01/04: Remove deprecated g_thread_init
noreply at xfce.org
noreply at xfce.org
Fri Jun 1 17:53:15 CEST 2018
This is an automated email from the git hooks/post-receive script.
a n d r e p u s h e d a c o m m i t t o b r a n c h m a s t e r
in repository thunar-plugins/thunar-vcs-plugin.
commit b58cd2c33abc1f5a8ada970e84478036a0131375
Author: Andre Miranda <andreldm at xfce.org>
Date: Fri Jun 1 00:06:26 2018 -0300
Remove deprecated g_thread_init
glib had to be bumped to 2.32 because this is the first
version g_thread_init has no effect.
---
configure.ac.in | 2 +-
tvp-svn-helper/main.c | 5 -----
2 files changed, 1 insertion(+), 6 deletions(-)
diff --git a/configure.ac.in b/configure.ac.in
index 94c43d5..c0cae2f 100644
--- a/configure.ac.in
+++ b/configure.ac.in
@@ -86,7 +86,7 @@ XDT_CHECK_PACKAGE([THUNARX], [thunarx-3], [1.2.0])
XDT_CHECK_PACKAGE([EXO], [exo-2], [0.10.0])
XDT_CHECK_PACKAGE([LIBXFCE4UTIL], [libxfce4util-1.0], [4.12.0])
XDT_CHECK_PACKAGE([GTK], [gtk+-3.0], [3.20.0])
-XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.18.0])
+XDT_CHECK_PACKAGE([GLIB], [glib-2.0], [2.32.0])
XDT_CHECK_PACKAGE([GTHREAD], [gthread-2.0], [2.18.0])
XDT_CHECK_PACKAGE([GOBJECT], [gobject-2.0], [2.18.0])
diff --git a/tvp-svn-helper/main.c b/tvp-svn-helper/main.c
index f64d708..e9422fd 100644
--- a/tvp-svn-helper/main.c
+++ b/tvp-svn-helper/main.c
@@ -246,10 +246,7 @@ int main (int argc, char *argv[])
/* setup translation domain */
xfce_textdomain (GETTEXT_PACKAGE, PACKAGE_LOCALE_DIR, "UTF-8");
- if (!g_thread_supported ())
- g_thread_init (NULL);
gdk_threads_init ();
- gdk_threads_enter ();
option_context = g_option_context_new("<action> [options] [args]");
@@ -508,8 +505,6 @@ int main (int argc, char *argv[])
svn_pool_destroy(pool);
- gdk_threads_leave ();
-
return EXIT_SUCCESS;
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list