diff options
Diffstat (limited to 'patches/return-type-gtk_completion_line_get_type.patch')
-rw-r--r-- | patches/return-type-gtk_completion_line_get_type.patch | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/patches/return-type-gtk_completion_line_get_type.patch b/patches/return-type-gtk_completion_line_get_type.patch new file mode 100644 index 0000000..9c6f1f2 --- /dev/null +++ b/patches/return-type-gtk_completion_line_get_type.patch @@ -0,0 +1,45 @@ +From: Andreas Henriksson <andreas@fatal.se> +Date: Wed, 8 Mar 2017 23:21:15 +0100 +Subject: fix return type of gtk_completion_line_get_type + +Patch originally downloaded from +https://src.fedoraproject.org/cgit/rpms/gmrun.git/plain/gmrun-0.9.2-f12.patch + +slighly modified (parts dropped, fuzz fixed) to apply on top of debian +package + +Closes: #857065 +--- + src/gtkcompletionline.cc | 4 ++-- + src/gtkcompletionline.h | 2 +- + 2 files changed, 3 insertions(+), 3 deletions(-) + +diff --git a/src/gtkcompletionline.cc b/src/gtkcompletionline.cc +index 90897f7..c247994 100644 +--- a/src/gtkcompletionline.cc ++++ b/src/gtkcompletionline.cc +@@ -77,9 +77,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 = +diff --git a/src/gtkcompletionline.h b/src/gtkcompletionline.h +index 5e14cd7..caed4c7 100644 +--- a/src/gtkcompletionline.h ++++ b/src/gtkcompletionline.h +@@ -76,7 +76,7 @@ extern "C++" { + void (* cancel)(GtkCompletionLine *cl); + }; + +- guint gtk_completion_line_get_type(void); ++ GtkType gtk_completion_line_get_type(void); + GtkWidget *gtk_completion_line_new(); + + void gtk_completion_line_last_history_item(GtkCompletionLine*); |