rpms/gftp/devel gftp-2.0.18-thread-initialization.patch,NONE,1.1
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Sun Feb 25 15:36:38 UTC 2007
Author: mclasen
Update of /cvs/dist/rpms/gftp/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv7111
Added Files:
gftp-2.0.18-thread-initialization.patch
Log Message:
add patch
gftp-2.0.18-thread-initialization.patch:
gftp-gtk.c | 5 +----
1 files changed, 1 insertion(+), 4 deletions(-)
--- NEW FILE gftp-2.0.18-thread-initialization.patch ---
--- gftp-2.0.18/src/gtk/gftp-gtk.c.threads 2007-02-25 01:32:16.000000000 -0500
+++ gftp-2.0.18/src/gtk/gftp-gtk.c 2007-02-25 01:33:28.000000000 -0500
@@ -1280,10 +1280,8 @@
gftpui_common_child_process_done = 0;
g_thread_init (NULL);
-
-#if GTK_MAJOR_VERSION > 1
gdk_threads_init();
-#endif
+ GDK_THREADS_ENTER ();
main_thread_id = pthread_self ();
gtk_set_locale ();
@@ -1333,7 +1331,6 @@
init_gftp (argc, argv, window);
- GDK_THREADS_ENTER ();
gtk_main ();
GDK_THREADS_LEAVE ();
More information about the fedora-cvs-commits
mailing list