freebsd-ports/comms/grig/files/patch-ae
Kirill Ponomarev e25c01d1c5 Fix build with gcc-3.4
PR:		ports/71941
Submitted by:	maintainer
Approved by:	portmgr (implicit)
2004-10-09 07:51:12 +00:00

19 lines
556 B
Text

--- ./src/grig-druid-loc.c.orig Sun May 9 07:18:50 2004
+++ ./src/grig-druid-loc.c Sat Aug 14 15:39:16 2004
@@ -294,7 +294,7 @@
if (gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (radll))) {
longlat2locator (g_strtod (gtk_entry_get_text (GTK_ENTRY (lonwdg)), NULL),
g_strtod (gtk_entry_get_text (GTK_ENTRY (latwdg)), NULL),
- loc);
+ loc, 3);
gtk_entry_set_text (GTK_ENTRY (locatorwdg), g_strdup (loc));
}
#endif
@@ -342,6 +342,7 @@
gtk_widget_set_sensitive (locatorwdg, FALSE);
break;
default:
+ break;
}
}
}