bb44777
diff -ur gmrun-0.9.2/src/gtkcompletionline.cc gmrun-0.9.2.new/src/gtkcompletionline.cc
bb44777
--- gmrun-0.9.2/src/gtkcompletionline.cc	2010-01-11 12:22:35.097644540 +0200
bb44777
+++ gmrun-0.9.2.new/src/gtkcompletionline.cc	2010-01-11 12:22:45.686644030 +0200
bb44777
@@ -79,9 +79,9 @@
bb44777
 on_scroll(GtkCompletionLine *cl, GdkEventScroll *event, gpointer data);
bb44777
 
bb44777
 /* get_type */
bb44777
-guint gtk_completion_line_get_type(void)
bb44777
+GtkType gtk_completion_line_get_type(void)
bb44777
 {
bb44777
-  static guint type = 0;
bb44777
+  static GtkType type = 0;
bb44777
   if (type == 0)
bb44777
   {
bb44777
     GtkTypeInfo type_info =
bb44777
@@ -381,10 +381,7 @@
bb44777
   return 0;
bb44777
 }
bb44777
 
bb44777
-int my_alphasort(const void* va, const void* vb) {
bb44777
-  const struct dirent** a = (const struct dirent**)va;
bb44777
-  const struct dirent** b = (const struct dirent**)vb;
bb44777
-
bb44777
+int my_alphasort(const struct dirent** a, const struct dirent** b) {
bb44777
   const char* s1 = (*a)->d_name;
bb44777
   const char* s2 = (*b)->d_name;
bb44777
 
bb44777
diff -ur gmrun-0.9.2/src/gtkcompletionline.h gmrun-0.9.2.new/src/gtkcompletionline.h
bb44777
--- gmrun-0.9.2/src/gtkcompletionline.h	2003-11-16 12:43:32.000000000 +0200
bb44777
+++ gmrun-0.9.2.new/src/gtkcompletionline.h	2010-01-11 12:22:45.686644030 +0200
bb44777
@@ -14,6 +14,7 @@
bb44777
 #define __GTKCOMPLETIONLINE_H__
bb44777
 
bb44777
 #include <gtk/gtkentry.h>
bb44777
+#include <gtk/gtktypeutils.h>
bb44777
 
bb44777
 #include <string>
bb44777
 
bb44777
@@ -76,7 +77,7 @@
bb44777
     void (* cancel)(GtkCompletionLine *cl);
bb44777
   };
bb44777
 
bb44777
-  guint gtk_completion_line_get_type(void);
bb44777
+  GtkType gtk_completion_line_get_type(void);
bb44777
   GtkWidget *gtk_completion_line_new();
bb44777
 
bb44777
   void gtk_completion_line_last_history_item(GtkCompletionLine*);