]> err.no Git - mapper/commitdiff
Realize map before initing
authorKaj-Michael Lang <milang@angel.tal.org>
Fri, 5 Oct 2007 20:26:01 +0000 (23:26 +0300)
committerKaj-Michael Lang <milang@angel.tal.org>
Fri, 5 Oct 2007 20:26:01 +0000 (23:26 +0300)
src/ui-common.c

index 5ac89e5ec30ef89ea064f237152cb4ee2ca3ce93..d5752dbdc2acaa47f46a9d3a0432b798a43f04cd 100644 (file)
@@ -764,8 +764,8 @@ _map_widget = gtk_drawing_area_new();
 gtk_paned_add2(GTK_PANED(hbox), _map_widget);
 
 gps_show_info();
-map_poi_init(_map_widget);
 gtk_widget_realize(_map_widget);
+map_poi_init(_map_widget);
 
 menu_maps_add_repos();