]> git.street.me.uk Git - andy/viking.git/blobdiff - src/googlerouting.c
Remove uneeded (and wrong) finalize functions
[andy/viking.git] / src / googlerouting.c
index 97df90997fc22f0ff5e92c6b7260b41ddf24fc02..35e8804bfb8919f3d65636bc97c76158938b1d58 100644 (file)
@@ -48,8 +48,6 @@
 
 static DownloadMapOptions googles_routing_options = { FALSE, FALSE, "http://maps.google.com/", 0, NULL };
 
-static void google_routing_finalize ( GObject *gob );
-
 static gchar *google_routing_get_url_for_coords ( VikRoutingEngine *self, struct LatLon start, struct LatLon end );
 static DownloadMapOptions *google_routing_get_download_options ( VikRoutingEngine *self );
 
@@ -62,8 +60,6 @@ static void google_routing_class_init ( GoogleRoutingClass *klass )
 
   object_class = G_OBJECT_CLASS (klass);
 
-  object_class->finalize = google_routing_finalize;
-
   parent_class = VIK_ROUTING_ENGINE_CLASS (klass);
 
   parent_class->get_url_for_coords = google_routing_get_url_for_coords;
@@ -88,11 +84,6 @@ static void google_routing_init ( GoogleRouting *vlp )
 {
 }
 
-static void google_routing_finalize ( GObject *gob )
-{
-  G_OBJECT_GET_CLASS(gob)->finalize(gob);
-}
-
 static DownloadMapOptions *
 google_routing_get_download_options ( VikRoutingEngine *self )
 {