Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 472742 Details for
Bug 616412
net-misc/putty - add USE=gtk2
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
putty-0.69-gtk2_compilefix.patch
putty-0.69-gtk2_compilefix.patch (text/plain), 995 bytes, created by
Lars Wendler (Polynomial-C) (RETIRED)
on 2017-05-16 07:22:41 UTC
(
hide
)
Description:
putty-0.69-gtk2_compilefix.patch
Filename:
MIME Type:
Creator:
Lars Wendler (Polynomial-C) (RETIRED)
Created:
2017-05-16 07:22:41 UTC
Size:
995 bytes
patch
obsolete
>From 230f7d56284a703c65c4fecf7e6f23b791043f81 Mon Sep 17 00:00:00 2001 >From: Zero King <l2dy@macports.org> >Date: Sun, 30 Apr 2017 11:01:13 +0100 >Subject: [PATCH] Fix thinko introduced in 8833634f4. > >This prevented compilation with Gtk 2. >--- > unix/gtkwin.c | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) > >diff --git a/unix/gtkwin.c b/unix/gtkwin.c >index 69e3350..bca6daa 100644 >--- a/unix/gtkwin.c >+++ b/unix/gtkwin.c >@@ -2188,11 +2188,11 @@ void set_gtk_widget_background(GtkWidget *widget, const GdkColor *col) > free(data); > free(col_css); > #else >- if (gtk_widget_get_window(win)) { >+ if (gtk_widget_get_window(widget)) { > /* For GTK1, which doesn't have a 'const' on > * gdk_window_set_background's second parameter type. */ > GdkColor col_mutable = *col; >- gdk_window_set_background(gtk_widget_get_window(win), &col_mutable); >+ gdk_window_set_background(gtk_widget_get_window(widget), &col_mutable); > } > #endif > } >-- >2.1.4 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 616412
:
470738
|
472740
| 472742 |
472744