From: Kaj-Michael Lang Date: Thu, 6 Mar 2008 11:21:15 +0000 (+0200) Subject: Add header and cast properly. X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=fe6101a5cca6da9679c907174cafd194c0abe0d7;p=mapper Add header and cast properly. --- diff --git a/src/import-gui.c b/src/import-gui.c index b778ae3..69509fd 100644 --- a/src/import-gui.c +++ b/src/import-gui.c @@ -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 index 0000000..7ff5535 --- /dev/null +++ b/src/import-gui.h @@ -0,0 +1,6 @@ +#ifndef _IMPORT_GUI_H +#define _IMPORT_GUI_H + +gboolean osm_import_dialog(GtkWidget *window); + +#endif