simon-git: putty (master): Simon Tatham

Commits to Tartarus hosted VCS tartarus-commits at lists.tartarus.org
Sat Mar 3 18:34:57 GMT 2018


TL;DR:
  0476cea GTK1 build fixes.
  97a248b Use gdk_display_beep() in place of obsolete gdk_beep().

Repository:     https://git.tartarus.org/simon/putty.git
On the web:     https://git.tartarus.org/?p=simon/putty.git
Branch updated: master
Committer:      Simon Tatham <anakin at pobox.com>
Date:           2018-03-03 18:34:57

commit 0476ceaa0848a5d4cad3edf4002ca5d973dc424b
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=0476ceaa0848a5d4cad3edf4002ca5d973dc424b;hp=31a2017af5fd3c279fce362469a5894882db89c6
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat Mar 3 18:18:54 2018 +0000

    GTK1 build fixes.
    
    Looks as if I haven't retried the GTK1 build for a while, and recent
    GTK frontend development has broken it. The selection revamp has
    pointed out that GTK1 didn't have the accessor function
    gtk_selection_data_get_selection(), the standard GdkAtom value
    GDK_SELECTION_CLIPBOARD, or keysyms for alphabetic characters; and
    also I had an initialisation of one of my own structure fields
    (dp->selparams) accidentally not guarded by the same GTK-versioning
    ifdef that controls whether or not it was defined.

 unix/gtkcompat.h |  6 ++++++
 unix/gtkdlg.c    |  5 +++++
 unix/gtkwin.c    | 11 +++++++++--
 3 files changed, 20 insertions(+), 2 deletions(-)

commit 97a248b463d49a47418532cd5797f6ea7773a4cf
web diff https://git.tartarus.org/?p=simon/putty.git;a=commitdiff;h=97a248b463d49a47418532cd5797f6ea7773a4cf;hp=0476ceaa0848a5d4cad3edf4002ca5d973dc424b
Author: Simon Tatham <anakin at pobox.com>
Date:   Sat Mar 3 18:20:04 2018 +0000

    Use gdk_display_beep() in place of obsolete gdk_beep().
    
    Except in GTK1 (which doesn't have the former), via a gtkcompat.h
    workaround.
    
    Up-to-date GTK3 has deprecated gdk_beep(), causing build failures due
    to the default -Werror setting.

 unix/gtkcompat.h | 1 +
 unix/gtkdlg.c    | 4 ++--
 unix/gtkwin.c    | 2 +-
 3 files changed, 4 insertions(+), 3 deletions(-)



More information about the tartarus-commits mailing list