SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
26
x11/gmrun/patches/patch-src_gtkcompletionline_cc
Normal file
26
x11/gmrun/patches/patch-src_gtkcompletionline_cc
Normal file
|
@ -0,0 +1,26 @@
|
|||
--- 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;
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue