Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation warnings when compiling on Fedora #8

Open
tyll opened this issue Jun 29, 2020 · 0 comments
Open

Deprecation warnings when compiling on Fedora #8

tyll opened this issue Jun 29, 2020 · 0 comments

Comments

@tyll
Copy link

tyll commented Jun 29, 2020

Just compiled gpsroccrelate 2.0 (thank you for releasing it) for Fedora 32 and noticed some deprecation warnings. Maybe you could fix them:

gui.c: In function 'CreateMatchWindow':
gui.c:273:3: warning: 'gtk_hbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
  273 |   WindowHBox = gtk_hbox_new (FALSE, 0);
      |   ^~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:262,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkhbox.h:63:13: note: declared here
   63 | GtkWidget * gtk_hbox_new      (gboolean homogeneous,
      |             ^~~~~~~~~~~~
gui.c:278:3: warning: 'gtk_vbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
  278 |   ControlsVBox = gtk_vbox_new (FALSE, 0);
      |   ^~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:286,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here
   61 | GtkWidget * gtk_vbox_new      (gboolean homogeneous,
      |             ^~~~~~~~~~~~
gui.c:287:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations]
  287 |   AddPhotosAlignment = gtk_alignment_new (0.5, 0.5, 1, 1);
      |   ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here
   79 | GtkWidget* gtk_alignment_new        (gfloat             xalign,
      |            ^~~~~~~~~~~~~~~~~
gui.c:290:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations]
  290 |   gtk_alignment_set_padding (GTK_ALIGNMENT (AddPhotosAlignment), 0, 4, 12, 4);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here
   91 | void       gtk_alignment_set_padding (GtkAlignment      *alignment,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:290:3: warning: 'gtk_alignment_get_type' is deprecated [-Wdeprecated-declarations]
  290 |   gtk_alignment_set_padding (GTK_ALIGNMENT (AddPhotosAlignment), 0, 4, 12, 4);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:77:12: note: declared here
   77 | GType      gtk_alignment_get_type   (void) G_GNUC_CONST;
      |            ^~~~~~~~~~~~~~~~~~~~~~
gui.c:292:3: warning: 'gtk_vbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
  292 |   AddPhotosVBox = gtk_vbox_new (FALSE, 0);
      |   ^~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:286,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here
   61 | GtkWidget * gtk_vbox_new      (gboolean homogeneous,
      |             ^~~~~~~~~~~~
gui.c:328:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations]
  328 |   GPSDataAlignment = gtk_alignment_new (0.5, 0.5, 1, 1);
      |   ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here
   79 | GtkWidget* gtk_alignment_new        (gfloat             xalign,
      |            ^~~~~~~~~~~~~~~~~
gui.c:331:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations]
  331 |   gtk_alignment_set_padding (GTK_ALIGNMENT (GPSDataAlignment), 0, 4, 12, 4);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here
   91 | void       gtk_alignment_set_padding (GtkAlignment      *alignment,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:331:3: warning: 'gtk_alignment_get_type' is deprecated [-Wdeprecated-declarations]
  331 |   gtk_alignment_set_padding (GTK_ALIGNMENT (GPSDataAlignment), 0, 4, 12, 4);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:77:12: note: declared here
   77 | GType      gtk_alignment_get_type   (void) G_GNUC_CONST;
      |            ^~~~~~~~~~~~~~~~~~~~~~
gui.c:333:3: warning: 'gtk_vbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
  333 |   GPSDataVBox = gtk_vbox_new (FALSE, 0);
      |   ^~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:286,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here
   61 | GtkWidget * gtk_vbox_new      (gboolean homogeneous,
      |             ^~~~~~~~~~~~
gui.c:369:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations]
  369 |   OptionsAlignment = gtk_alignment_new (0.5, 0.5, 1, 1);
      |   ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here
   79 | GtkWidget* gtk_alignment_new        (gfloat             xalign,
      |            ^~~~~~~~~~~~~~~~~
gui.c:372:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations]
  372 |   gtk_alignment_set_padding (GTK_ALIGNMENT (OptionsAlignment), 0, 4, 12, 4);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here
   91 | void       gtk_alignment_set_padding (GtkAlignment      *alignment,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:372:3: warning: 'gtk_alignment_get_type' is deprecated [-Wdeprecated-declarations]
  372 |   gtk_alignment_set_padding (GTK_ALIGNMENT (OptionsAlignment), 0, 4, 12, 4);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:77:12: note: declared here
   77 | GType      gtk_alignment_get_type   (void) G_GNUC_CONST;
      |            ^~~~~~~~~~~~~~~~~~~~~~
gui.c:374:3: warning: 'gtk_vbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
  374 |   OptionsVBox = gtk_vbox_new (FALSE, 0);
      |   ^~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:286,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here
   61 | GtkWidget * gtk_vbox_new      (gboolean homogeneous,
      |             ^~~~~~~~~~~~
gui.c:475:3: warning: 'gtk_table_new' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
  475 |   OptionsTable = gtk_table_new (4, 2, FALSE);
      |   ^~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:119:12: note: declared here
  119 | GtkWidget* gtk_table_new       (guint  rows,
      |            ^~~~~~~~~~~~~
gui.c:481:3: warning: 'gtk_table_attach' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
  481 |   gtk_table_attach (GTK_TABLE (OptionsTable), MaxGapTimeLabel, 0, 1, 0, 1,
      |   ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:9: note: declared here
  127 | void    gtk_table_attach       (GtkTable        *table,
      |         ^~~~~~~~~~~~~~~~
gui.c:481:3: warning: 'gtk_table_get_type' is deprecated [-Wdeprecated-declarations]
  481 |   gtk_table_attach (GTK_TABLE (OptionsTable), MaxGapTimeLabel, 0, 1, 0, 1,
      |   ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
  117 | GType    gtk_table_get_type       (void) G_GNUC_CONST;
      |          ^~~~~~~~~~~~~~~~~~
gui.c:484:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations]
  484 |   gtk_misc_set_alignment (GTK_MISC (MaxGapTimeLabel), 0, 0.5);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:6: note: declared here
   72 | void gtk_misc_set_alignment (GtkMisc *misc,
      |      ^~~~~~~~~~~~~~~~~~~~~~
gui.c:484:3: warning: 'gtk_misc_get_type' is deprecated [-Wdeprecated-declarations]
  484 |   gtk_misc_set_alignment (GTK_MISC (MaxGapTimeLabel), 0, 0.5);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70:9: note: declared here
   70 | GType   gtk_misc_get_type      (void) G_GNUC_CONST;
      |         ^~~~~~~~~~~~~~~~~
gui.c:488:3: warning: 'gtk_table_attach' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
  488 |   gtk_table_attach (GTK_TABLE (OptionsTable), TimeZoneLabel, 0, 1, 1, 2,
      |   ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:9: note: declared here
  127 | void    gtk_table_attach       (GtkTable        *table,
      |         ^~~~~~~~~~~~~~~~
gui.c:488:3: warning: 'gtk_table_get_type' is deprecated [-Wdeprecated-declarations]
  488 |   gtk_table_attach (GTK_TABLE (OptionsTable), TimeZoneLabel, 0, 1, 1, 2,
      |   ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
  117 | GType    gtk_table_get_type       (void) G_GNUC_CONST;
      |          ^~~~~~~~~~~~~~~~~~
gui.c:491:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations]
  491 |   gtk_misc_set_alignment (GTK_MISC (TimeZoneLabel), 0, 0.5);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:6: note: declared here
   72 | void gtk_misc_set_alignment (GtkMisc *misc,
      |      ^~~~~~~~~~~~~~~~~~~~~~
gui.c:491:3: warning: 'gtk_misc_get_type' is deprecated [-Wdeprecated-declarations]
  491 |   gtk_misc_set_alignment (GTK_MISC (TimeZoneLabel), 0, 0.5);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70:9: note: declared here
   70 | GType   gtk_misc_get_type      (void) G_GNUC_CONST;
      |         ^~~~~~~~~~~~~~~~~
gui.c:495:3: warning: 'gtk_table_attach' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
  495 |   gtk_table_attach (GTK_TABLE (OptionsTable), PhotoOffsetLabel, 0, 1, 2, 3,
      |   ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:9: note: declared here
  127 | void    gtk_table_attach       (GtkTable        *table,
      |         ^~~~~~~~~~~~~~~~
gui.c:495:3: warning: 'gtk_table_get_type' is deprecated [-Wdeprecated-declarations]
  495 |   gtk_table_attach (GTK_TABLE (OptionsTable), PhotoOffsetLabel, 0, 1, 2, 3,
      |   ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
  117 | GType    gtk_table_get_type       (void) G_GNUC_CONST;
      |          ^~~~~~~~~~~~~~~~~~
gui.c:498:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations]
  498 |   gtk_misc_set_alignment (GTK_MISC (PhotoOffsetLabel), 0, 0.5);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:6: note: declared here
   72 | void gtk_misc_set_alignment (GtkMisc *misc,
      |      ^~~~~~~~~~~~~~~~~~~~~~
gui.c:498:3: warning: 'gtk_misc_get_type' is deprecated [-Wdeprecated-declarations]
  498 |   gtk_misc_set_alignment (GTK_MISC (PhotoOffsetLabel), 0, 0.5);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70:9: note: declared here
   70 | GType   gtk_misc_get_type      (void) G_GNUC_CONST;
      |         ^~~~~~~~~~~~~~~~~
gui.c:502:3: warning: 'gtk_table_attach' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
  502 |   gtk_table_attach (GTK_TABLE (OptionsTable), GPSDatumLabel, 0, 1, 4, 5,
      |   ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:9: note: declared here
  127 | void    gtk_table_attach       (GtkTable        *table,
      |         ^~~~~~~~~~~~~~~~
gui.c:502:3: warning: 'gtk_table_get_type' is deprecated [-Wdeprecated-declarations]
  502 |   gtk_table_attach (GTK_TABLE (OptionsTable), GPSDatumLabel, 0, 1, 4, 5,
      |   ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
  117 | GType    gtk_table_get_type       (void) G_GNUC_CONST;
      |          ^~~~~~~~~~~~~~~~~~
gui.c:505:3: warning: 'gtk_misc_set_alignment' is deprecated [-Wdeprecated-declarations]
  505 |   gtk_misc_set_alignment (GTK_MISC (GPSDatumLabel), 0, 0.5);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:72:6: note: declared here
   72 | void gtk_misc_set_alignment (GtkMisc *misc,
      |      ^~~~~~~~~~~~~~~~~~~~~~
gui.c:505:3: warning: 'gtk_misc_get_type' is deprecated [-Wdeprecated-declarations]
  505 |   gtk_misc_set_alignment (GTK_MISC (GPSDatumLabel), 0, 0.5);
      |   ^~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtklabel.h:32,
                 from /usr/include/gtk-3.0/gtk/gtkaccellabel.h:35,
                 from /usr/include/gtk-3.0/gtk/gtk.h:33,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkmisc.h:70:9: note: declared here
   70 | GType   gtk_misc_get_type      (void) G_GNUC_CONST;
      |         ^~~~~~~~~~~~~~~~~
gui.c:509:3: warning: 'gtk_table_attach' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
  509 |   gtk_table_attach (GTK_TABLE (OptionsTable), GapTimeEntry, 1, 2, 0, 1,
      |   ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:9: note: declared here
  127 | void    gtk_table_attach       (GtkTable        *table,
      |         ^~~~~~~~~~~~~~~~
gui.c:509:3: warning: 'gtk_table_get_type' is deprecated [-Wdeprecated-declarations]
  509 |   gtk_table_attach (GTK_TABLE (OptionsTable), GapTimeEntry, 1, 2, 0, 1,
      |   ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
  117 | GType    gtk_table_get_type       (void) G_GNUC_CONST;
      |          ^~~~~~~~~~~~~~~~~~
gui.c:530:3: warning: 'gtk_table_attach' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
  530 |   gtk_table_attach (GTK_TABLE (OptionsTable), TimeZoneEntry, 1, 2, 1, 2,
      |   ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:9: note: declared here
  127 | void    gtk_table_attach       (GtkTable        *table,
      |         ^~~~~~~~~~~~~~~~
gui.c:530:3: warning: 'gtk_table_get_type' is deprecated [-Wdeprecated-declarations]
  530 |   gtk_table_attach (GTK_TABLE (OptionsTable), TimeZoneEntry, 1, 2, 1, 2,
      |   ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
  117 | GType    gtk_table_get_type       (void) G_GNUC_CONST;
      |          ^~~~~~~~~~~~~~~~~~
gui.c:556:3: warning: 'gtk_table_attach' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
  556 |   gtk_table_attach (GTK_TABLE (OptionsTable), PhotoOffsetEntry, 1, 2, 2, 3,
      |   ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:9: note: declared here
  127 | void    gtk_table_attach       (GtkTable        *table,
      |         ^~~~~~~~~~~~~~~~
gui.c:556:3: warning: 'gtk_table_get_type' is deprecated [-Wdeprecated-declarations]
  556 |   gtk_table_attach (GTK_TABLE (OptionsTable), PhotoOffsetEntry, 1, 2, 2, 3,
      |   ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
  117 | GType    gtk_table_get_type       (void) G_GNUC_CONST;
      |          ^~~~~~~~~~~~~~~~~~
gui.c:575:3: warning: 'gtk_table_attach' is deprecated: Use 'GtkGrid' instead [-Wdeprecated-declarations]
  575 |   gtk_table_attach (GTK_TABLE (OptionsTable), GPSDatumEntry, 1, 2, 4, 5,
      |   ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:127:9: note: declared here
  127 | void    gtk_table_attach       (GtkTable        *table,
      |         ^~~~~~~~~~~~~~~~
gui.c:575:3: warning: 'gtk_table_get_type' is deprecated [-Wdeprecated-declarations]
  575 |   gtk_table_attach (GTK_TABLE (OptionsTable), GPSDatumEntry, 1, 2, 4, 5,
      |   ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:280,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtktable.h:117:10: note: declared here
  117 | GType    gtk_table_get_type       (void) G_GNUC_CONST;
      |          ^~~~~~~~~~~~~~~~~~
gui.c:600:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations]
  600 |   CorrelateAlignment = gtk_alignment_new (0.5, 0.5, 1, 1);
      |   ^~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here
   79 | GtkWidget* gtk_alignment_new        (gfloat             xalign,
      |            ^~~~~~~~~~~~~~~~~
gui.c:603:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations]
  603 |   gtk_alignment_set_padding (GTK_ALIGNMENT (CorrelateAlignment), 0, 4, 12, 4);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here
   91 | void       gtk_alignment_set_padding (GtkAlignment      *alignment,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:603:3: warning: 'gtk_alignment_get_type' is deprecated [-Wdeprecated-declarations]
  603 |   gtk_alignment_set_padding (GTK_ALIGNMENT (CorrelateAlignment), 0, 4, 12, 4);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:77:12: note: declared here
   77 | GType      gtk_alignment_get_type   (void) G_GNUC_CONST;
      |            ^~~~~~~~~~~~~~~~~~~~~~
gui.c:630:3: warning: 'gtk_alignment_new' is deprecated [-Wdeprecated-declarations]
  630 |   OtherOptionsAlignment = gtk_alignment_new (0.5, 0.5, 1, 1);
      |   ^~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:79:12: note: declared here
   79 | GtkWidget* gtk_alignment_new        (gfloat             xalign,
      |            ^~~~~~~~~~~~~~~~~
gui.c:633:3: warning: 'gtk_alignment_set_padding' is deprecated [-Wdeprecated-declarations]
  633 |   gtk_alignment_set_padding (GTK_ALIGNMENT (OtherOptionsAlignment), 0, 4, 12, 4);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:91:12: note: declared here
   91 | void       gtk_alignment_set_padding (GtkAlignment      *alignment,
      |            ^~~~~~~~~~~~~~~~~~~~~~~~~
gui.c:633:3: warning: 'gtk_alignment_get_type' is deprecated [-Wdeprecated-declarations]
  633 |   gtk_alignment_set_padding (GTK_ALIGNMENT (OtherOptionsAlignment), 0, 4, 12, 4);
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:255,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkalignment.h:77:12: note: declared here
   77 | GType      gtk_alignment_get_type   (void) G_GNUC_CONST;
      |            ^~~~~~~~~~~~~~~~~~~~~~
gui.c:635:3: warning: 'gtk_vbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
  635 |   OtherOptionsVBox = gtk_vbox_new (FALSE, 0);
      |   ^~~~~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:286,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here
   61 | GtkWidget * gtk_vbox_new      (gboolean homogeneous,
      |             ^~~~~~~~~~~~
gui.c:684:3: warning: 'gtk_vbox_new' is deprecated: Use 'gtk_box_new' instead [-Wdeprecated-declarations]
  684 |   PhotoListVBox = gtk_vbox_new (FALSE, 0);
      |   ^~~~~~~~~~~~~
In file included from /usr/include/gtk-3.0/gtk/gtk.h:286,
                 from gui.c:42:
/usr/include/gtk-3.0/gtk/deprecated/gtkvbox.h:61:13: note: declared here
   61 | GtkWidget * gtk_vbox_new      (gboolean homogeneous,
      |             ^~~~~~~~~~~~
gui.c: In function 'AddPhotosButtonPress':
gui.c:845:4: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
  845 |    GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
      |    ^~~~~~~~~~~~~~~~
gui.c:846:4: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
  846 |    GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
      |    ^~~~~~~~~~~~~~
gui.c: In function 'SelectGPSButtonPress':
gui.c:1193:4: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
 1193 |    GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
      |    ^~~~~~~~~~~~~~~~
gui.c:1194:4: warning: 'GtkStock' is deprecated [-Wdeprecated-declarations]
 1194 |    GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
      |    ^~~~~~~~~~~~~~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant