openbsd-ports/www/mozilla/patches/patch-widget_src_gtk2_nsGtkKeyUtils_cpp
2004-01-18 10:49:33 +00:00

13 lines
609 B
Plaintext

$OpenBSD: patch-widget_src_gtk2_nsGtkKeyUtils_cpp,v 1.2 2004/01/18 10:49:33 wilfried Exp $
--- widget/src/gtk2/nsGtkKeyUtils.cpp.orig 2003-08-21 22:10:58.000000000 +0200
+++ widget/src/gtk2/nsGtkKeyUtils.cpp 2003-12-12 15:43:28.000000000 +0100
@@ -51,7 +51,7 @@ struct nsKeyConverter {
// Netscape keycodes are defined in widget/public/nsGUIEvent.h
// GTK keycodes are defined in <gdk/gdkkeysyms.h>
//
-struct nsKeyConverter nsKeycodes[] = {
+static struct nsKeyConverter nsKeycodes[] = {
{ NS_VK_CANCEL, GDK_Cancel },
{ NS_VK_BACK, GDK_BackSpace },
{ NS_VK_TAB, GDK_Tab },