]> granicus.if.org Git - postgis/commitdiff
Use macro define to determine default geometry column name in gui
authorPaul Ramsey <pramsey@cleverelephant.ca>
Sat, 9 Jan 2010 00:10:48 +0000 (00:10 +0000)
committerPaul Ramsey <pramsey@cleverelephant.ca>
Sat, 9 Jan 2010 00:10:48 +0000 (00:10 +0000)
git-svn-id: http://svn.osgeo.org/postgis/trunk@5110 b70326c6-7e19-0410-871a-916f4a2858ee

loader/shp2pgsql-gui.c

index 4d24774cb5e5300315a5d22d7cab976192aac41f..82a6efc012da8cee25814fc504ccd52dab915183 100644 (file)
@@ -1106,7 +1106,7 @@ pgui_create_main_window(const SHPCONNECTIONCONFIG *conn)
        label = gtk_label_new("Geometry Column:");
        entry_config_geocolumn = gtk_entry_new();
        gtk_entry_set_width_chars(GTK_ENTRY(entry_config_geocolumn), text_width);
-       gtk_entry_set_text(GTK_ENTRY(entry_config_geocolumn), "the_geom");
+       gtk_entry_set_text(GTK_ENTRY(entry_config_geocolumn), GEOMETRY_DEFAULT);
        gtk_table_attach_defaults(GTK_TABLE(table_config), label, 2, 3, 1, 2 );
        gtk_table_attach_defaults(GTK_TABLE(table_config), entry_config_geocolumn, 3, 4, 1, 2 );