bug-gnu-pspp
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: PSPP-BUG: [bug #45325] Crash when opening URLS


From: John Darrington
Subject: Re: PSPP-BUG: [bug #45325] Crash when opening URLS
Date: Wed, 1 Jul 2015 19:15:21 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

It would not stop the problem when someone clicks on "License" and then on 
www.fsf.org

J'

On Wed, Jul 01, 2015 at 09:50:16AM -0700, Ben Pfaff wrote:
     What do you think of the following proposed "fix" for the crash?
     
     --8<--------------------------cut here-------------------------->8--
     
     From: Ben Pfaff <address@hidden>
     Date: Wed, 1 Jul 2015 09:49:07 -0700
     Subject: [PATCH] gui: Disable website URL in GTK+3 before 3.15.5.
     
     This prevents an otherwise unavoidable segfault in those versions.
     
     Bug #45325.
     ---
      src/ui/gui/help-menu.c | 5 ++++-
      1 file changed, 4 insertions(+), 1 deletion(-)
     
     diff --git a/src/ui/gui/help-menu.c b/src/ui/gui/help-menu.c
     index 46d4032..9a42056 100644
     --- a/src/ui/gui/help-menu.c
     +++ b/src/ui/gui/help-menu.c
     @@ -43,7 +43,10 @@ about_new (GtkMenuItem *mmm, GtkWindow *parent)
      
        gtk_window_set_icon_name (GTK_WINDOW (about), "pspp");
      
     -  gtk_about_dialog_set_website (GTK_ABOUT_DIALOG (about), PACKAGE_URL);
     +  /* In GTK+3 before 3.15.5, clicking on a URL in the About dialog caused 
a
     +     segfault, so simply disable the feature for those earlier versions. 
*/
     +  if (!gtk_check_version (3, 15, 5))
     +    gtk_about_dialog_set_website (GTK_ABOUT_DIALOG (about), PACKAGE_URL);
      
        gtk_about_dialog_set_version (GTK_ABOUT_DIALOG (about),
                                bare_version);
     -- 
     2.1.3

-- 
PGP Public key ID: 1024D/2DE827B3 
fingerprint = 8797 A26D 0854 2EAB 0285  A290 8A67 719C 2DE8 27B3
See http://sks-keyservers.net or any PGP keyserver for public key.

Attachment: signature.asc
Description: Digital signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]