summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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*);