summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Henriksson <andreas@fatal.se>2017-03-08 23:21:15 +0100
committerLukas Schwaighofer <lukas@schwaighofer.name>2017-03-12 15:49:46 -0700
commite0340c747b2f0d279420ec0d770c2b5134d65855 (patch)
tree635c03a38270dd664a38406743b3e247f34bd5f4
parent7b63dc42973f07f58890612f63fbeb38b5781c7a (diff)
fix return type of gtk_completion_line_get_typeHEADdebian/0.9.2-2.2archive/debian/0.9.2-2.2master
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 Gbp-Pq: Name return-type-gtk_completion_line_get_type.patch
-rw-r--r--src/gtkcompletionline.cc4
-rw-r--r--src/gtkcompletionline.h2
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*);