[postgis-tickets] [PostGIS] #4666: Port shp2pgsql-gui to GTK 3
PostGIS
trac at osgeo.org
Wed Apr 15 09:20:56 PDT 2020
#4666: Port shp2pgsql-gui to GTK 3
-----------------------------+-------------------
Reporter: Bas Couwenberg | Owner: robe
Type: defect | Status: new
Priority: medium | Milestone:
Component: loader/dumper | Version: 3.0.x
Resolution: | Keywords:
-----------------------------+-------------------
Comment (by Bas Couwenberg):
Patching `configure.ac` to use GTK 3 with the following patch results as
expected in a build failure:
{{{
Description: Use GTK 3 instead of GTK 2.
Author: Bas Couwenberg <sebastic at debian.org>
Bug: https://trac.osgeo.org/postgis/ticket/4666
Index: postgis-3.0.1+dfsg/configure.ac
===================================================================
--- postgis-3.0.1+dfsg.orig/configure.ac
+++ postgis-3.0.1+dfsg/configure.ac
@@ -1092,17 +1092,17 @@ fi
dnl
===========================================================================
-dnl Detect GTK+2.0 for GUI
+dnl Detect GTK+3.0 for GUI
dnl
===========================================================================
AC_ARG_WITH([gui],
- [AS_HELP_STRING([--with-gui], [compile the data import GUI
(requires GTK+2.0)])],
+ [AS_HELP_STRING([--with-gui], [compile the data import GUI
(requires GTK+3.0)])],
[GUI="yes"], [GUI="no"])
if test "x$GUI" = "xyes"; then
- AC_MSG_RESULT([GUI: Build requested, checking for dependencies
(GKT+2.0)])
+ AC_MSG_RESULT([GUI: Build requested, checking for dependencies
(GKT+3.0)])
dnl Try to find the GTK libs with pkgconfig
- AM_PATH_GTK_2_0([2.8.0], [GTK_BUILD="gui"], [GTK_BUILD=""])
+ AM_PATH_GTK_3_0([3.0.0], [GTK_BUILD="gui"], [GTK_BUILD=""])
dnl Add -mwindows to MinGW GUI build
case $host in
}}}
{{{
shp2pgsql-gui.c: In function 'pgui_raise_error_dialogue':
shp2pgsql-gui.c:286:58: error: 'GTK_DIALOG_NO_SEPARATOR' undeclared (first
use in this function); did you mean 'GTK_UI_MANAGER_SEPARATOR'?
286 | GTK_DIALOG_MODAL &
GTK_DIALOG_NO_SEPARATOR & GTK_DIALOG_DESTROY_WITH_PARENT,
|
^~~~~~~~~~~~~~~~~~~~~~~
|
GTK_UI_MANAGER_SEPARATOR
shp2pgsql-gui.c:286:58: note: each undeclared identifier is reported only
once for each function it appears in
shp2pgsql-gui.c:287:39: warning: 'GtkStock' is deprecated [-Wdeprecated-
declarations]
287 | GTK_STOCK_OK,
GTK_RESPONSE_OK, NULL);
| ^~~~~~~~~~~~
shp2pgsql-gui.c:288:2: warning: implicit declaration of function
'gtk_dialog_set_has_separator'; did you mean 'gtk_dialog_get_header_bar'?
[-Wimplicit-function-declaration]
288 | gtk_dialog_set_has_separator(GTK_DIALOG(dialog), FALSE );
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
| gtk_dialog_get_header_bar
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
from /usr/include/gtk-3.0/gdk/gdk.h:32,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from shp2pgsql-gui.c:23:
shp2pgsql-gui.c:290:66: error: 'GtkDialog' {aka 'struct _GtkDialog'} has
no member named 'vbox'
290 | gtk_container_set_border_width(GTK_CONTAINER
(GTK_DIALOG(dialog)->vbox), 15);
|
^~
/usr/include/glib-2.0/gobject/gtype.h:2301:57: note: in definition of
macro '_G_TYPE_CIC'
2301 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))
| ^~
/usr/include/gtk-3.0/gtk/gtkcontainer.h:38:42: note: in expansion of macro
'G_TYPE_CHECK_INSTANCE_CAST'
38 | #define GTK_CONTAINER(obj)
(G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CONTAINER, GtkContainer))
|
^~~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:290:33: note: in expansion of macro 'GTK_CONTAINER'
290 | gtk_container_set_border_width(GTK_CONTAINER
(GTK_DIALOG(dialog)->vbox), 15);
| ^~~~~~~~~~~~~
shp2pgsql-gui.c:291:52: error: 'GtkDialog' {aka 'struct _GtkDialog'} has
no member named 'vbox'
291 | gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox),
label);
| ^~
/usr/include/glib-2.0/gobject/gtype.h:2301:57: note: in definition of
macro '_G_TYPE_CIC'
2301 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))
| ^~
/usr/include/gtk-3.0/gtk/gtkcontainer.h:38:42: note: in expansion of macro
'G_TYPE_CHECK_INSTANCE_CAST'
38 | #define GTK_CONTAINER(obj)
(G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_CONTAINER, GtkContainer))
|
^~~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:291:20: note: in expansion of macro 'GTK_CONTAINER'
291 | gtk_container_add(GTK_CONTAINER(GTK_DIALOG(dialog)->vbox),
label);
| ^~~~~~~~~~~~~
shp2pgsql-gui.c: In function 'pgui_action_handle_file_drop':
shp2pgsql-gui.c:2063:20: error: dereferencing pointer to incomplete type
'GtkSelectionData' {aka 'struct _GtkSelectionData'}
2063 | if (selection_data->data == NULL)
| ^~
shp2pgsql-gui.c: In function 'pgui_create_about_dialog':
shp2pgsql-gui.c:2561:2: warning: implicit declaration of function
'gtk_about_dialog_set_name'; did you mean 'gtk_about_dialog_set_logo'?
[-Wimplicit-function-declaration]
2561 | gtk_about_dialog_set_name(GTK_ABOUT_DIALOG(dialog_about),
_("PostGIS Shapefile Import/Export Manager"));
| ^~~~~~~~~~~~~~~~~~~~~~~~~
| gtk_about_dialog_set_logo
shp2pgsql-gui.c: In function 'pgui_create_filechooser_dialog':
shp2pgsql-gui.c:2574:3: warning: 'GtkStock' is deprecated [-Wdeprecated-
declarations]
2574 | GTK_FILE_CHOOSER_ACTION_OPEN, GTK_STOCK_CANCEL,
GTK_RESPONSE_CLOSE, GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2574:3: warning: 'GtkStock' is deprecated [-Wdeprecated-
declarations]
shp2pgsql-gui.c: In function 'pgui_create_folderchooser_dialog':
shp2pgsql-gui.c:2601:3: warning: 'GtkStock' is deprecated [-Wdeprecated-
declarations]
2601 | GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER, GTK_STOCK_CANCEL,
GTK_RESPONSE_CLOSE, GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT, NULL);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2601:3: warning: 'GtkStock' is deprecated [-Wdeprecated-
declarations]
shp2pgsql-gui.c: In function 'pgui_create_progress_dialog':
shp2pgsql-gui.c:2623:2: warning: 'GtkStock' is deprecated [-Wdeprecated-
declarations]
2623 | dialog_progress = gtk_dialog_new_with_buttons(_("Working..."),
GTK_WINDOW(window_main), GTK_DIALOG_DESTROY_WITH_PARENT, GTK_STOCK_CANCEL,
GTK_RESPONSE_CANCEL, NULL);
| ^~~~~~~~~~~~~~~
shp2pgsql-gui.c:2634:2: warning: 'gtk_table_new' is deprecated: Use
'GtkGrid' instead [-Wdeprecated-declarations]
2634 | table_progress = gtk_table_new(2, 1, TRUE);
| ^~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:119:12: note: declared here
119 | GtkWidget* gtk_table_new (guint rows,
| ^~~~~~~~~~~~~
shp2pgsql-gui.c:2636:2: warning: 'gtk_table_set_row_spacings' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
2636 | gtk_table_set_row_spacings(GTK_TABLE(table_progress), 5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:159:9: note: declared here
159 | void gtk_table_set_row_spacings (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2636:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
2636 | gtk_table_set_row_spacings(GTK_TABLE(table_progress), 5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2637:2: warning: 'gtk_table_set_col_spacings' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
2637 | gtk_table_set_col_spacings(GTK_TABLE(table_progress), 10);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:164:9: note: declared here
164 | void gtk_table_set_col_spacings (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2637:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
2637 | gtk_table_set_col_spacings(GTK_TABLE(table_progress), 10);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2641:2: warning: 'gtk_table_attach_defaults' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
2641 | gtk_table_attach_defaults(GTK_TABLE(table_progress),
label_progress, 0, 1, 0, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:9: note: declared here
138 | void gtk_table_attach_defaults (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2641:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
2641 | gtk_table_attach_defaults(GTK_TABLE(table_progress),
label_progress, 0, 1, 0, 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
/bin/bash ../libtool --mode=link \
x86_64-linux-gnu-gcc -I ../liblwgeom -Wall -Wmissing-prototypes
-std=gnu99 -g -O2 -fdebug-prefix-map=/build/postgis-3.0.1+dfsg=. -fstack-
protector-strong -Wformat -Werror=format-security -fno-math-errno -fno-
signed-zeros -fPIC -DPIC shpopen.o dbfopen.o getopt.o shpcommon.o
safileio.o pgsql2shp-core.o pgsql2shp-cli.o ../liblwgeom/liblwgeom.la
-L/usr/lib/x86_64-linux-gnu -Wl,-z,relro -Wl,-z,now -L/usr/lib/llvm-10/lib
-L/usr/lib/x86_64-linux-gnu/mit-krb5 -Wl,--as-needed -static
../liblwgeom/liblwgeom.la -lc -L/usr/lib/x86_64-linux-gnu -lpq -o
pgsql2shp
shp2pgsql-gui.c:2645:2: warning: implicit declaration of function
'gtk_progress_bar_set_orientation'; did you mean
'gtk_progress_bar_set_fraction'? [-Wimplicit-function-declaration]
2645 | gtk_progress_bar_set_orientation(GTK_PROGRESS_BAR(progress),
GTK_PROGRESS_LEFT_TO_RIGHT);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| gtk_progress_bar_set_fraction
shp2pgsql-gui.c:2645:63: error: 'GTK_PROGRESS_LEFT_TO_RIGHT' undeclared
(first use in this function)
2645 | gtk_progress_bar_set_orientation(GTK_PROGRESS_BAR(progress),
GTK_PROGRESS_LEFT_TO_RIGHT);
|
^~~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2647:2: warning: 'gtk_table_attach_defaults' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
2647 | gtk_table_attach_defaults(GTK_TABLE(table_progress), progress, 0,
1, 1, 2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:9: note: declared here
138 | void gtk_table_attach_defaults (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2647:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
2647 | gtk_table_attach_defaults(GTK_TABLE(table_progress), progress, 0,
1, 1, 2);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2656:2: warning: implicit declaration of function
'gtk_signal_connect'; did you mean 'g_signal_connect'? [-Wimplicit-
function-declaration]
2656 | gtk_signal_connect(GTK_OBJECT(dialog_progress), "delete_event",
GTK_SIGNAL_FUNC(pgui_action_progress_delete), NULL);
| ^~~~~~~~~~~~~~~~~~
| g_signal_connect
shp2pgsql-gui.c:2656:21: warning: implicit declaration of function
'GTK_OBJECT'; did you mean 'ATK_OBJECT'? [-Wimplicit-function-declaration]
2656 | gtk_signal_connect(GTK_OBJECT(dialog_progress), "delete_event",
GTK_SIGNAL_FUNC(pgui_action_progress_delete), NULL);
| ^~~~~~~~~~
| ATK_OBJECT
shp2pgsql-gui.c:2656:66: warning: implicit declaration of function
'GTK_SIGNAL_FUNC' [-Wimplicit-function-declaration]
2656 | gtk_signal_connect(GTK_OBJECT(dialog_progress), "delete_event",
GTK_SIGNAL_FUNC(pgui_action_progress_delete), NULL);
|
^~~~~~~~~~~~~~~
shp2pgsql-gui.c: In function 'pgui_create_options_dialog_add_label':
shp2pgsql-gui.c:2664:2: warning: 'gtk_alignment_new' is deprecated
[-Wdeprecated-declarations]
2664 | GtkWidget *align = gtk_alignment_new(alignment, 0.5, 0.0, 1.0);
| ^~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared
here
79 | GtkWidget* gtk_alignment_new (gfloat xalign,
| ^~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2666:2: warning: 'gtk_table_attach_defaults' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
2666 | gtk_table_attach_defaults(GTK_TABLE(table), align, 1, 3, row, row
+ 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:9: note: declared here
138 | void gtk_table_attach_defaults (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2666:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
2666 | gtk_table_attach_defaults(GTK_TABLE(table), align, 1, 3, row, row
+ 1);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c: In function 'pgui_create_loader_options_dialog':
shp2pgsql-gui.c:2677:2: warning: 'GtkStock' is deprecated [-Wdeprecated-
declarations]
2677 | dialog_loader_options = gtk_dialog_new_with_buttons(_("Import
Options"), GTK_WINDOW(window_main), GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_STOCK_OK, GTK_RESPONSE_OK, NULL);
| ^~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2683:2: warning: 'gtk_table_new' is deprecated: Use
'GtkGrid' instead [-Wdeprecated-declarations]
2683 | table_options = gtk_table_new(7, 3, TRUE);
| ^~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:119:12: note: declared here
119 | GtkWidget* gtk_table_new (guint rows,
| ^~~~~~~~~~~~~
shp2pgsql-gui.c:2685:2: warning: 'gtk_table_set_row_spacings' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
2685 | gtk_table_set_row_spacings(GTK_TABLE(table_options), 5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:159:9: note: declared here
159 | void gtk_table_set_row_spacings (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2685:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
2685 | gtk_table_set_row_spacings(GTK_TABLE(table_options), 5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2686:2: warning: 'gtk_table_set_col_spacings' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
2686 | gtk_table_set_col_spacings(GTK_TABLE(table_options), 10);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:164:9: note: declared here
164 | void gtk_table_set_col_spacings (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2686:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
2686 | gtk_table_set_col_spacings(GTK_TABLE(table_options), 10);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2691:2: warning: 'gtk_table_attach_defaults' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
2691 | gtk_table_attach_defaults(GTK_TABLE(table_options),
entry_options_encoding, 0, 1, 0, 1 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:9: note: declared here
138 | void gtk_table_attach_defaults (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2691:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
2691 | gtk_table_attach_defaults(GTK_TABLE(table_options),
entry_options_encoding, 0, 1, 0, 1 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2695:2: warning: 'gtk_alignment_new' is deprecated
[-Wdeprecated-declarations]
2695 | align_options_center = gtk_alignment_new( 0.5, 0.5, 0.0, 1.0 );
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared
here
79 | GtkWidget* gtk_alignment_new (gfloat xalign,
| ^~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2696:2: warning: 'gtk_table_attach_defaults' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
2696 | gtk_table_attach_defaults(GTK_TABLE(table_options),
align_options_center, 0, 1, 1, 2 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:9: note: declared here
138 | void gtk_table_attach_defaults (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2696:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
2696 | gtk_table_attach_defaults(GTK_TABLE(table_options),
align_options_center, 0, 1, 1, 2 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2701:2: warning: 'gtk_alignment_new' is deprecated
[-Wdeprecated-declarations]
2701 | align_options_center = gtk_alignment_new( 0.5, 0.5, 0.0, 1.0 );
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared
here
79 | GtkWidget* gtk_alignment_new (gfloat xalign,
| ^~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2702:2: warning: 'gtk_table_attach_defaults' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
2702 | gtk_table_attach_defaults(GTK_TABLE(table_options),
align_options_center, 0, 1, 2, 3 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:9: note: declared here
138 | void gtk_table_attach_defaults (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2702:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
2702 | gtk_table_attach_defaults(GTK_TABLE(table_options),
align_options_center, 0, 1, 2, 3 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2707:2: warning: 'gtk_alignment_new' is deprecated
[-Wdeprecated-declarations]
2707 | align_options_center = gtk_alignment_new( 0.5, 0.5, 0.0, 1.0 );
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared
here
79 | GtkWidget* gtk_alignment_new (gfloat xalign,
| ^~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2708:2: warning: 'gtk_table_attach_defaults' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
2708 | gtk_table_attach_defaults(GTK_TABLE(table_options),
align_options_center, 0, 1, 3, 4 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:9: note: declared here
138 | void gtk_table_attach_defaults (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2708:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
2708 | gtk_table_attach_defaults(GTK_TABLE(table_options),
align_options_center, 0, 1, 3, 4 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2713:2: warning: 'gtk_alignment_new' is deprecated
[-Wdeprecated-declarations]
2713 | align_options_center = gtk_alignment_new( 0.5, 0.5, 0.0, 1.0 );
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared
here
79 | GtkWidget* gtk_alignment_new (gfloat xalign,
| ^~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2714:2: warning: 'gtk_table_attach_defaults' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
2714 | gtk_table_attach_defaults(GTK_TABLE(table_options),
align_options_center, 0, 1, 4, 5 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:9: note: declared here
138 | void gtk_table_attach_defaults (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2714:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
2714 | gtk_table_attach_defaults(GTK_TABLE(table_options),
align_options_center, 0, 1, 4, 5 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2719:2: warning: 'gtk_alignment_new' is deprecated
[-Wdeprecated-declarations]
2719 | align_options_center = gtk_alignment_new( 0.5, 0.5, 0.0, 0.0 );
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared
here
79 | GtkWidget* gtk_alignment_new (gfloat xalign,
| ^~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2720:2: warning: 'gtk_table_attach_defaults' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
2720 | gtk_table_attach_defaults(GTK_TABLE(table_options),
align_options_center, 0, 1, 5, 6 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:9: note: declared here
138 | void gtk_table_attach_defaults (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2720:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
2720 | gtk_table_attach_defaults(GTK_TABLE(table_options),
align_options_center, 0, 1, 5, 6 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2725:2: warning: 'gtk_alignment_new' is deprecated
[-Wdeprecated-declarations]
2725 | align_options_center = gtk_alignment_new( 0.5, 0.5, 0.0, 1.0 );
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared
here
79 | GtkWidget* gtk_alignment_new (gfloat xalign,
| ^~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2726:2: warning: 'gtk_table_attach_defaults' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
2726 | gtk_table_attach_defaults(GTK_TABLE(table_options),
align_options_center, 0, 1, 6, 7 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:9: note: declared here
138 | void gtk_table_attach_defaults (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2726:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
2726 | gtk_table_attach_defaults(GTK_TABLE(table_options),
align_options_center, 0, 1, 6, 7 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2731:2: warning: 'gtk_alignment_new' is deprecated
[-Wdeprecated-declarations]
2731 | align_options_center = gtk_alignment_new( 0.5, 0.5, 0.0, 1.0 );
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared
here
79 | GtkWidget* gtk_alignment_new (gfloat xalign,
| ^~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2732:2: warning: 'gtk_table_attach_defaults' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
2732 | gtk_table_attach_defaults(GTK_TABLE(table_options),
align_options_center, 0, 1, 7, 8 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:9: note: declared here
138 | void gtk_table_attach_defaults (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2732:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
2732 | gtk_table_attach_defaults(GTK_TABLE(table_options),
align_options_center, 0, 1, 7, 8 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
from /usr/include/gtk-3.0/gdk/gdk.h:32,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from shp2pgsql-gui.c:23:
shp2pgsql-gui.c:2737:62: error: 'GtkDialog' {aka 'struct _GtkDialog'} has
no member named 'vbox'
2737 |
gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog_loader_options)->vbox),
table_options, FALSE, FALSE, 0);
| ^~
/usr/include/glib-2.0/gobject/gtype.h:2301:57: note: in definition of
macro '_G_TYPE_CIC'
2301 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))
| ^~
/usr/include/gtk-3.0/gtk/gtkbox.h:40:34: note: in expansion of macro
'G_TYPE_CHECK_INSTANCE_CAST'
40 | #define GTK_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST
((obj), GTK_TYPE_BOX, GtkBox))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2737:21: note: in expansion of macro 'GTK_BOX'
2737 |
gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog_loader_options)->vbox),
table_options, FALSE, FALSE, 0);
| ^~~~~~~
shp2pgsql-gui.c: In function 'pgui_create_dumper_options_dialog':
shp2pgsql-gui.c:2749:2: warning: 'GtkStock' is deprecated [-Wdeprecated-
declarations]
2749 | dialog_dumper_options = gtk_dialog_new_with_buttons(_("Export
Options"), GTK_WINDOW(window_main), GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_STOCK_OK, GTK_RESPONSE_OK, NULL);
| ^~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2755:2: warning: 'gtk_table_new' is deprecated: Use
'GtkGrid' instead [-Wdeprecated-declarations]
2755 | table_options = gtk_table_new(3, 3, TRUE);
| ^~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:119:12: note: declared here
119 | GtkWidget* gtk_table_new (guint rows,
| ^~~~~~~~~~~~~
shp2pgsql-gui.c:2757:2: warning: 'gtk_table_set_row_spacings' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
2757 | gtk_table_set_row_spacings(GTK_TABLE(table_options), 5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:159:9: note: declared here
159 | void gtk_table_set_row_spacings (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2757:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
2757 | gtk_table_set_row_spacings(GTK_TABLE(table_options), 5);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2758:2: warning: 'gtk_table_set_col_spacings' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
2758 | gtk_table_set_col_spacings(GTK_TABLE(table_options), 10);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:164:9: note: declared here
164 | void gtk_table_set_col_spacings (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2758:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
2758 | gtk_table_set_col_spacings(GTK_TABLE(table_options), 10);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2762:2: warning: 'gtk_alignment_new' is deprecated
[-Wdeprecated-declarations]
2762 | align_options_center = gtk_alignment_new( 0.5, 0.5, 0.0, 1.0 );
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared
here
79 | GtkWidget* gtk_alignment_new (gfloat xalign,
| ^~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2763:2: warning: 'gtk_table_attach_defaults' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
2763 | gtk_table_attach_defaults(GTK_TABLE(table_options),
align_options_center, 0, 1, 0, 1 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:9: note: declared here
138 | void gtk_table_attach_defaults (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2763:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
2763 | gtk_table_attach_defaults(GTK_TABLE(table_options),
align_options_center, 0, 1, 0, 1 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2768:2: warning: 'gtk_alignment_new' is deprecated
[-Wdeprecated-declarations]
2768 | align_options_center = gtk_alignment_new( 0.5, 0.5, 0.0, 1.0 );
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared
here
79 | GtkWidget* gtk_alignment_new (gfloat xalign,
| ^~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2769:2: warning: 'gtk_table_attach_defaults' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
2769 | gtk_table_attach_defaults(GTK_TABLE(table_options),
align_options_center, 0, 1, 1, 2 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:9: note: declared here
138 | void gtk_table_attach_defaults (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2769:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
2769 | gtk_table_attach_defaults(GTK_TABLE(table_options),
align_options_center, 0, 1, 1, 2 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2774:2: warning: 'gtk_alignment_new' is deprecated
[-Wdeprecated-declarations]
2774 | align_options_center = gtk_alignment_new( 0.5, 0.5, 0.0, 1.0 );
| ^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared
here
79 | GtkWidget* gtk_alignment_new (gfloat xalign,
| ^~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2775:2: warning: 'gtk_table_attach_defaults' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
2775 | gtk_table_attach_defaults(GTK_TABLE(table_options),
align_options_center, 0, 1, 2, 3 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:9: note: declared here
138 | void gtk_table_attach_defaults (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2775:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
2775 | gtk_table_attach_defaults(GTK_TABLE(table_options),
align_options_center, 0, 1, 2, 3 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/glib-2.0/gobject/gobject.h:24,
from /usr/include/glib-2.0/gobject/gbinding.h:29,
from /usr/include/glib-2.0/glib-object.h:22,
from /usr/include/glib-2.0/gio/gioenums.h:28,
from /usr/include/glib-2.0/gio/giotypes.h:28,
from /usr/include/glib-2.0/gio/gio.h:26,
from /usr/include/gtk-3.0/gdk/gdkapplaunchcontext.h:28,
from /usr/include/gtk-3.0/gdk/gdk.h:32,
from /usr/include/gtk-3.0/gtk/gtk.h:30,
from shp2pgsql-gui.c:23:
shp2pgsql-gui.c:2780:62: error: 'GtkDialog' {aka 'struct _GtkDialog'} has
no member named 'vbox'
2780 |
gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog_dumper_options)->vbox),
table_options, FALSE, FALSE, 0);
| ^~
/usr/include/glib-2.0/gobject/gtype.h:2301:57: note: in definition of
macro '_G_TYPE_CIC'
2301 | ((ct*) g_type_check_instance_cast ((GTypeInstance*) ip, gt))
| ^~
/usr/include/gtk-3.0/gtk/gtkbox.h:40:34: note: in expansion of macro
'G_TYPE_CHECK_INSTANCE_CAST'
40 | #define GTK_BOX(obj) (G_TYPE_CHECK_INSTANCE_CAST
((obj), GTK_TYPE_BOX, GtkBox))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2780:21: note: in expansion of macro 'GTK_BOX'
2780 |
gtk_box_pack_start(GTK_BOX(GTK_DIALOG(dialog_dumper_options)->vbox),
table_options, FALSE, FALSE, 0);
| ^~~~~~~
shp2pgsql-gui.c: In function 'pgui_create_tablechooser_dialog':
shp2pgsql-gui.c:2799:5: warning: 'GtkStock' is deprecated [-Wdeprecated-
declarations]
2799 | GTK_DIALOG_MODAL | GTK_DIALOG_DESTROY_WITH_PARENT,
GTK_STOCK_OK, GTK_RESPONSE_OK, NULL);
| ^~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2859:2: warning: 'gtk_table_new' is deprecated: Use
'GtkGrid' instead [-Wdeprecated-declarations]
2859 | table_progress = gtk_table_new(1, 2, FALSE);
| ^~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:119:12: note: declared here
119 | GtkWidget* gtk_table_new (guint rows,
| ^~~~~~~~~~~~~
shp2pgsql-gui.c:2861:2: warning: 'gtk_table_set_row_spacings' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
2861 | gtk_table_set_row_spacings(GTK_TABLE(table_progress), 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:159:9: note: declared here
159 | void gtk_table_set_row_spacings (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2861:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
2861 | gtk_table_set_row_spacings(GTK_TABLE(table_progress), 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2862:2: warning: 'gtk_table_set_col_spacings' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
2862 | gtk_table_set_col_spacings(GTK_TABLE(table_progress), 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:164:9: note: declared here
164 | void gtk_table_set_col_spacings (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2862:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
2862 | gtk_table_set_col_spacings(GTK_TABLE(table_progress), 0);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2865:2: warning: 'gtk_table_attach' is deprecated: Use
'GtkGrid' instead [-Wdeprecated-declarations]
2865 | gtk_table_attach(GTK_TABLE(table_progress),
checkbutton_chooser_geoonly, 0, 1, 0, 1, GTK_SHRINK, GTK_FILL, 0, 0);
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:9: note: declared here
127 | void gtk_table_attach (GtkTable *table,
| ^~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2865:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
2865 | gtk_table_attach(GTK_TABLE(table_progress),
checkbutton_chooser_geoonly, 0, 1, 0, 1, GTK_SHRINK, GTK_FILL, 0, 0);
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2867:2: warning: 'gtk_table_attach' is deprecated: Use
'GtkGrid' instead [-Wdeprecated-declarations]
2867 | gtk_table_attach(GTK_TABLE(table_progress), label, 1, 2, 0, 1,
GTK_FILL, GTK_FILL, 5, 0);
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:9: note: declared here
127 | void gtk_table_attach (GtkTable *table,
| ^~~~~~~~~~~~~~~~
shp2pgsql-gui.c:2867:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
2867 | gtk_table_attach(GTK_TABLE(table_progress), label, 1, 2, 0, 1,
GTK_FILL, GTK_FILL, 5, 0);
| ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c: In function 'pgui_create_import_file_table':
shp2pgsql-gui.c:2892:2: warning: 'gtk_vbox_new' is deprecated: Use
'gtk_box_new' instead [-Wdeprecated-declarations]
2892 | vbox_tree = gtk_vbox_new(FALSE, 15);
| ^~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:286,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here
61 | GtkWidget * gtk_vbox_new (gboolean homogeneous,
| ^~~~~~~~~~~~
shp2pgsql-gui.c: In function 'pgui_create_export_table_table':
shp2pgsql-gui.c:3082:2: warning: 'gtk_vbox_new' is deprecated: Use
'gtk_box_new' instead [-Wdeprecated-declarations]
3082 | vbox_tree = gtk_vbox_new(FALSE, 15);
| ^~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:286,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here
61 | GtkWidget * gtk_vbox_new (gboolean homogeneous,
| ^~~~~~~~~~~~
shp2pgsql-gui.c: In function 'pgui_create_connection_window':
shp2pgsql-gui.c:3217:2: warning: 'gtk_vbox_new' is deprecated: Use
'gtk_box_new' instead [-Wdeprecated-declarations]
3217 | vbox = gtk_vbox_new(FALSE, 15);
| ^~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:286,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here
61 | GtkWidget * gtk_vbox_new (gboolean homogeneous,
| ^~~~~~~~~~~~
shp2pgsql-gui.c:3223:2: warning: 'gtk_table_new' is deprecated: Use
'GtkGrid' instead [-Wdeprecated-declarations]
3223 | table_pg = gtk_table_new(5, 3, TRUE);
| ^~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:119:12: note: declared here
119 | GtkWidget* gtk_table_new (guint rows,
| ^~~~~~~~~~~~~
shp2pgsql-gui.c:3225:2: warning: 'gtk_table_set_col_spacings' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
3225 | gtk_table_set_col_spacings(GTK_TABLE(table_pg), 7);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:164:9: note: declared here
164 | void gtk_table_set_col_spacings (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:3225:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
3225 | gtk_table_set_col_spacings(GTK_TABLE(table_pg), 7);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:3226:2: warning: 'gtk_table_set_row_spacings' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
3226 | gtk_table_set_row_spacings(GTK_TABLE(table_pg), 3);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:159:9: note: declared here
159 | void gtk_table_set_row_spacings (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:3226:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
3226 | gtk_table_set_row_spacings(GTK_TABLE(table_pg), 3);
| ^~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:3231:2: warning: 'gtk_table_attach_defaults' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
3231 | gtk_table_attach_defaults(GTK_TABLE(table_pg), label, 0, 1, 0, 1
);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:9: note: declared here
138 | void gtk_table_attach_defaults (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:3231:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
3231 | gtk_table_attach_defaults(GTK_TABLE(table_pg), label, 0, 1, 0, 1
);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:3232:2: warning: 'gtk_table_attach_defaults' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
3232 | gtk_table_attach_defaults(GTK_TABLE(table_pg), entry_pg_user, 1,
3, 0, 1 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:9: note: declared here
138 | void gtk_table_attach_defaults (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:3232:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
3232 | gtk_table_attach_defaults(GTK_TABLE(table_pg), entry_pg_user, 1,
3, 0, 1 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:3238:2: warning: 'gtk_table_attach_defaults' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
3238 | gtk_table_attach_defaults(GTK_TABLE(table_pg), label, 0, 1, 1, 2
);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:9: note: declared here
138 | void gtk_table_attach_defaults (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:3238:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
3238 | gtk_table_attach_defaults(GTK_TABLE(table_pg), label, 0, 1, 1, 2
);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:3239:2: warning: 'gtk_table_attach_defaults' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
3239 | gtk_table_attach_defaults(GTK_TABLE(table_pg), entry_pg_pass, 1,
3, 1, 2 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:9: note: declared here
138 | void gtk_table_attach_defaults (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:3239:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
3239 | gtk_table_attach_defaults(GTK_TABLE(table_pg), entry_pg_pass, 1,
3, 1, 2 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:3245:2: warning: 'gtk_table_attach_defaults' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
3245 | gtk_table_attach_defaults(GTK_TABLE(table_pg), label, 0, 1, 2, 3
);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:9: note: declared here
138 | void gtk_table_attach_defaults (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:3245:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
3245 | gtk_table_attach_defaults(GTK_TABLE(table_pg), label, 0, 1, 2, 3
);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:3246:2: warning: 'gtk_table_attach_defaults' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
3246 | gtk_table_attach_defaults(GTK_TABLE(table_pg), entry_pg_host, 1,
2, 2, 3 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:9: note: declared here
138 | void gtk_table_attach_defaults (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:3246:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
3246 | gtk_table_attach_defaults(GTK_TABLE(table_pg), entry_pg_host, 1,
2, 2, 3 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:3250:2: warning: 'gtk_table_attach_defaults' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
3250 | gtk_table_attach_defaults(GTK_TABLE(table_pg), entry_pg_port, 2,
3, 2, 3 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:9: note: declared here
138 | void gtk_table_attach_defaults (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:3250:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
3250 | gtk_table_attach_defaults(GTK_TABLE(table_pg), entry_pg_port, 2,
3, 2, 3 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:3255:2: warning: 'gtk_table_attach_defaults' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
3255 | gtk_table_attach_defaults(GTK_TABLE(table_pg), label, 0, 1, 3, 4
);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:9: note: declared here
138 | void gtk_table_attach_defaults (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:3255:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
3255 | gtk_table_attach_defaults(GTK_TABLE(table_pg), label, 0, 1, 3, 4
);
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:3256:2: warning: 'gtk_table_attach_defaults' is
deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
3256 | gtk_table_attach_defaults(GTK_TABLE(table_pg), entry_pg_db, 1, 3,
3, 4 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:138:9: note: declared here
138 | void gtk_table_attach_defaults (GtkTable *table,
| ^~~~~~~~~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c:3256:2: warning: 'gtk_table_get_type' is deprecated
[-Wdeprecated-declarations]
3256 | gtk_table_attach_defaults(GTK_TABLE(table_pg), entry_pg_db, 1, 3,
3, 4 );
| ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
117 | GType gtk_table_get_type (void) G_GNUC_CONST;
| ^~~~~~~~~~~~~~~~~~
shp2pgsql-gui.c: In function 'pgui_create_main_window':
shp2pgsql-gui.c:3337:2: warning: 'gtk_hbox_new' is deprecated: Use
'gtk_box_new' instead [-Wdeprecated-declarations]
3337 | loader_hbox_buttons = gtk_hbox_new(TRUE, 15);
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:262,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
63 | GtkWidget * gtk_hbox_new (gboolean homogeneous,
| ^~~~~~~~~~~~
shp2pgsql-gui.c:3367:2: warning: 'gtk_hbox_new' is deprecated: Use
'gtk_box_new' instead [-Wdeprecated-declarations]
3367 | dumper_hbox_buttons = gtk_hbox_new(TRUE, 15);
| ^~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:262,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
63 | GtkWidget * gtk_hbox_new (gboolean homogeneous,
| ^~~~~~~~~~~~
shp2pgsql-gui.c:3409:2: warning: 'gtk_vbox_new' is deprecated: Use
'gtk_box_new' instead [-Wdeprecated-declarations]
3409 | vbox_main = gtk_vbox_new(FALSE, 10);
| ^~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:286,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here
61 | GtkWidget * gtk_vbox_new (gboolean homogeneous,
| ^~~~~~~~~~~~
shp2pgsql-gui.c:3413:2: warning: 'gtk_vbox_new' is deprecated: Use
'gtk_box_new' instead [-Wdeprecated-declarations]
3413 | vbox_loader = gtk_vbox_new(FALSE, 10);
| ^~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:286,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here
61 | GtkWidget * gtk_vbox_new (gboolean homogeneous,
| ^~~~~~~~~~~~
shp2pgsql-gui.c:3421:2: warning: 'gtk_vbox_new' is deprecated: Use
'gtk_box_new' instead [-Wdeprecated-declarations]
3421 | vbox_dumper = gtk_vbox_new(FALSE, 10);
| ^~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:286,
from shp2pgsql-gui.c:23:
/usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here
61 | GtkWidget * gtk_vbox_new (gboolean homogeneous,
| ^~~~~~~~~~~~
libtool: link: x86_64-linux-gnu-gcc -I ../liblwgeom -Wall -Wmissing-
prototypes -std=gnu99 -g -O2 -fdebug-prefix-
map=/build/postgis-3.0.1+dfsg=. -fstack-protector-strong -Wformat -Werror
=format-security -fno-math-errno -fno-signed-zeros -fPIC -DPIC shpopen.o
dbfopen.o getopt.o shpcommon.o safileio.o pgsql2shp-core.o pgsql2shp-cli.o
-Wl,-z -Wl,relro -Wl,-z -Wl,now -Wl,--as-needed -o pgsql2shp
-L/usr/lib/x86_64-linux-gnu -L/usr/lib/llvm-10/lib -L/usr/lib/x86_64
-linux-gnu/mit-krb5 ../liblwgeom/.libs/liblwgeom.a -lgeos_c
/usr/lib/x86_64-linux-gnu/libproj.so -ljson-c -lm -lSFCGAL -lgmpxx -lc
-lpq -pthread
make[3]: *** [Makefile:108: shp2pgsql-gui.o] Error 1
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4666#comment:1>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list