Skip to content

Fix warnings when compiling with -pedantic

madmurphy requested to merge madmurphy/gtk:main into main

This commits fixes the following warnings when compiling with -pedantic:

In file included from /usr/include/gtk-4.0/gtk/gtk.h:89:
/usr/include/gtk-4.0/gtk/gtkcolumnviewcell.h:33:103: warning: ISO C does not allow extra ‘;’ outside of a function [-Wpedantic]
   33 | umnViewCell, gtk_column_view_cell, GTK, COLUMN_VIEW_CELL, GtkListItem);
      |                                                                       ^

In file included from /usr/include/gtk-4.0/gtk/gtk.h:91:
/usr/include/gtk-4.0/gtk/gtkcolumnviewrow.h:32:96: warning: ISO C does not allow extra ‘;’ outside of a function [-Wpedantic]
   32 | (GtkColumnViewRow, gtk_column_view_row, GTK, COLUMN_VIEW_ROW, GObject);
      |                                                                       ^

Merge request reports