blob: 9c6f1f2895f7b084d3c4ca27a0abbfa65e9deecd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
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*);
|