Skip to content

Commit

Permalink
Merge pull request #91 from tormodvolden/setuptwice
Browse files Browse the repository at this point in the history
osm_gps_map_set_property: Do not warn about second setup
  • Loading branch information
johnny-bit committed Dec 28, 2021
2 parents 6a82dc1 + ab0cc3d commit 31a8c81
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/osm-gps-map-widget.c
Original file line number Diff line number Diff line change
Expand Up @@ -2025,9 +2025,6 @@ osm_gps_map_set_property (GObject *object, guint prop_id, const GValue *value, G
priv->map_source >= OSM_GPS_MAP_SOURCE_NULL &&
priv->map_source <= OSM_GPS_MAP_SOURCE_LAST) {

if (!priv->is_constructed)
g_critical("Map source setup called twice");

/* we now have to switch the entire map */
osm_gps_map_setup(map);

Expand Down

0 comments on commit 31a8c81

Please sign in to comment.