openbsd-ports/x11/gmrun/patches/patch-src_gtkcompletionline_cc
kili e14f61d2c1 Update, and let it do more than just dump core on 64-bit archs.
This bug tought me that gtk and everything depending on it is
probably seriously broken beyond repair (no usable documenation,
weird of #defined backwards compatibility hacks, ...).
2009-11-10 22:42:17 +00:00

25 lines
731 B
Plaintext

$OpenBSD: patch-src_gtkcompletionline_cc,v 1.2 2009/11/10 22:42:17 kili Exp $
--- src/gtkcompletionline.cc.orig Sun Nov 16 11:55:07 2003
+++ src/gtkcompletionline.cc Tue Nov 10 23:33:28 2009
@@ -76,9 +76,9 @@ static gboolean
on_key_press(GtkCompletionLine *cl, GdkEventKey *event, gpointer data);
/* get_type */
-guint gtk_completion_line_get_type(void)
+GtkType gtk_completion_line_get_type(void)
{
- static guint type = 0;
+ static GtkType type = 0;
if (type == 0)
{
GtkTypeInfo type_info =
@@ -350,7 +350,7 @@ generate_path()
}
static int
-select_executables_only(const struct dirent* dent)
+select_executables_only(struct dirent* dent)
{
int len = strlen(dent->d_name);
int lenp = prefix.length();