$OpenBSD: patch-src_gtkcompletionline_cc,v 1.4 2012/11/30 15:59:42 naddy Exp $ --- src/gtkcompletionline.cc.orig Sun Nov 16 03:55:07 2003 +++ src/gtkcompletionline.cc Fri Mar 23 14:45:10 2012 @@ -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 = @@ -376,10 +376,7 @@ select_executables_only(const struct dirent* dent) return 0; } -int my_alphasort(const void* va, const void* vb) { - const struct dirent** a = (const struct dirent**)va; - const struct dirent** b = (const struct dirent**)vb; - +int my_alphasort(const struct dirent** a, const dirent** b) { const char* s1 = (*a)->d_name; const char* s2 = (*b)->d_name;