]> err.no Git - mapper/commitdiff
Add header and cast properly.
authorKaj-Michael Lang <milang@onion.tal.org>
Thu, 6 Mar 2008 11:21:15 +0000 (13:21 +0200)
committerKaj-Michael Lang <milang@onion.tal.org>
Thu, 6 Mar 2008 11:21:15 +0000 (13:21 +0200)
src/import-gui.c
src/import-gui.h [new file with mode: 0644]

index b778ae3fe70ab4d21c0bebf0d68becfe9208473e..69509fde164168b8589377328e0ae9473443eb80 100644 (file)
@@ -36,6 +36,7 @@
 #include "utils.h"
 #include "osm-db-import.h"
 #include "dialogs.h"
+#include "import-gui.h"
 
 static GtkWidget *progress;
 static GtkWidget *import_dialog;
@@ -43,7 +44,7 @@ static GtkWidget *import_dialog;
 static gboolean
 osm_import_progress_cb(gpointer data)
 {
-gtk_progress_bar_pulse(progress);
+gtk_progress_bar_pulse(GTK_PROGRESS_BAR(progress));
 return TRUE;
 }
 
diff --git a/src/import-gui.h b/src/import-gui.h
new file mode 100644 (file)
index 0000000..7ff5535
--- /dev/null
@@ -0,0 +1,6 @@
+#ifndef _IMPORT_GUI_H
+#define _IMPORT_GUI_H
+
+gboolean osm_import_dialog(GtkWidget *window);
+
+#endif