diff options
author | jylefort <jylefort@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-08-01 10:09:47 +0800 |
---|---|---|
committer | jylefort <jylefort@df743ca5-7f9a-e211-a948-0013205c9059> | 2005-08-01 10:09:47 +0800 |
commit | 3a6824114e93c8b44a7755f8c989cc9977384d9a (patch) | |
tree | 68da2fa39639018e2722a011d82e2e92897a2976 /x11-toolkits/libgnomeui | |
parent | f011eb35d950c2ec743d29ae4c02a40ad9f62aef (diff) | |
download | marcuscom-ports-3a6824114e93c8b44a7755f8c989cc9977384d9a.tar marcuscom-ports-3a6824114e93c8b44a7755f8c989cc9977384d9a.tar.gz marcuscom-ports-3a6824114e93c8b44a7755f8c989cc9977384d9a.tar.bz2 marcuscom-ports-3a6824114e93c8b44a7755f8c989cc9977384d9a.tar.lz marcuscom-ports-3a6824114e93c8b44a7755f8c989cc9977384d9a.tar.xz marcuscom-ports-3a6824114e93c8b44a7755f8c989cc9977384d9a.tar.zst marcuscom-ports-3a6824114e93c8b44a7755f8c989cc9977384d9a.zip |
Fix yet another thread-safety bug:
http://bugzilla.gnome.org/show_bug.cgi?id=312180
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@4367 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'x11-toolkits/libgnomeui')
-rw-r--r-- | x11-toolkits/libgnomeui/Makefile | 3 | ||||
-rw-r--r-- | x11-toolkits/libgnomeui/files/patch-libgnomeui_gnome-authentication-manager.c | 30 |
2 files changed, 32 insertions, 1 deletions
diff --git a/x11-toolkits/libgnomeui/Makefile b/x11-toolkits/libgnomeui/Makefile index ac50d96f8..a8def6161 100644 --- a/x11-toolkits/libgnomeui/Makefile +++ b/x11-toolkits/libgnomeui/Makefile @@ -3,10 +3,11 @@ # Whom: Joe Marcus Clarke <marcus@FreBSD.org> # # $FreeBSD$ -# $MCom: ports/x11-toolkits/libgnomeui/Makefile,v 1.58 2005/07/03 17:31:08 ahze Exp $ +# $MCom: ports/x11-toolkits/libgnomeui/Makefile,v 1.59 2005/07/04 00:12:01 marcus Exp $ PORTNAME= libgnomeui PORTVERSION= 2.11.1 +PORTREVISION= 1 CATEGORIES= x11-toolkits gnome MASTER_SITES= ${MASTER_SITE_GNOME} MASTER_SITE_SUBDIR= sources/${PORTNAME}/2.11 diff --git a/x11-toolkits/libgnomeui/files/patch-libgnomeui_gnome-authentication-manager.c b/x11-toolkits/libgnomeui/files/patch-libgnomeui_gnome-authentication-manager.c new file mode 100644 index 000000000..99990e1b9 --- /dev/null +++ b/x11-toolkits/libgnomeui/files/patch-libgnomeui_gnome-authentication-manager.c @@ -0,0 +1,30 @@ +--- libgnomeui/gnome-authentication-manager.c.orig Mon Aug 1 03:34:03 2005 ++++ libgnomeui/gnome-authentication-manager.c Mon Aug 1 03:36:29 2005 +@@ -849,7 +849,11 @@ + info->response = response; + info->response_data = response_data; + ++ GDK_THREADS_ENTER (); ++ + present_question_dialog_nonblocking (info); ++ ++ GDK_THREADS_LEAVE (); + } + + static void /* GnomeVFSModuleCallback */ +@@ -870,11 +874,15 @@ + in_real = (GnomeVFSModuleCallbackQuestionIn *)in; + out_real = (GnomeVFSModuleCallbackQuestionOut *)out; + ++ GDK_THREADS_ENTER (); ++ + out_real->answer = -1; /* Set a default value */ + dialog = create_question_dialog (in_real->primary_message, in_real->secondary_message, in_real->choices); + out_real->answer = gtk_dialog_run (GTK_DIALOG(dialog)); + + gtk_widget_destroy (GTK_WIDGET (dialog)); ++ ++ GDK_THREADS_LEAVE (); + } + + |