Sophie

Sophie

distrib > Fedora > 15 > i386 > by-pkgid > 7cae04a29f73f4985685b2704a2f3744 > files > 3

claws-mail-plugins-3.7.9-2.fc15.src.rpm

diff -up claws-mail-extra-plugins-3.7.8/geolocation_plugin-0.0.4/src/geolocation_plugin.c.orig claws-mail-extra-plugins-3.7.8/geolocation_plugin-0.0.4/src/geolocation_plugin.c
--- claws-mail-extra-plugins-3.7.8/geolocation_plugin-0.0.4/src/geolocation_plugin.c.orig	2011-04-09 10:58:47.000000000 +0200
+++ claws-mail-extra-plugins-3.7.8/geolocation_plugin-0.0.4/src/geolocation_plugin.c	2011-04-09 11:28:29.000000000 +0200
@@ -241,7 +241,8 @@ static GtkWidget* create_map_widget()
   /* create map widget */
   map = gtk_champlain_embed_new();
   view = gtk_champlain_embed_get_view(GTK_CHAMPLAIN_EMBED(map));
-  g_object_set(G_OBJECT(view), "scroll-mode", CHAMPLAIN_SCROLL_MODE_KINETIC, "zoom-level", 8, NULL);
+  champlain_view_set_kinetic_mode(view, TRUE);
+  champlain_view_set_zoom_level(view, 8);
 
   /* mail origin marker */
   layer = champlain_layer_new();