]> err.no Git - mapper/commitdiff
Init GPS panel widgets with the correct gps data structure
authorKaj-Michael Lang <milang@onion.tal.org>
Fri, 25 Jan 2008 12:23:53 +0000 (14:23 +0200)
committerKaj-Michael Lang <milang@onion.tal.org>
Fri, 25 Jan 2008 12:23:53 +0000 (14:23 +0200)
src/gps-panels.c

index 09e5c7451475002d0713f7be0604b80a7561ba46..0cd4e56f63e17d9a72c62f6af7b65c0a26bac8d9 100644 (file)
@@ -90,11 +90,11 @@ text_dop = gtk_label_new(NULL);
 gtk_widget_set_size_request(GTK_WIDGET(text_dop), -1, 30);
 gtk_box_pack_start(GTK_BOX(vbox), text_dop, FALSE, TRUE, 0);
 
-_gps_signal=gtk_gps_new(GTK_GPS_MODE_SKY, _gps);
+_gps_signal=gtk_gps_new(GTK_GPS_MODE_SKY, &_gps->data);
 gtk_widget_set_size_request(_gps_signal, -1, 100);
 gtk_box_pack_start(GTK_BOX(vbox), _gps_signal, TRUE, TRUE, 0);
 
-_gps_compass = gtk_compass_new(_gps);
+_gps_compass = gtk_compass_new(&_gps->data);
 gtk_widget_set_size_request(_gps_compass, -1, 100);
 gtk_box_pack_start(GTK_BOX(vbox), _gps_compass, TRUE, TRUE, 0);