From 073f5f28b835d3bda5e8771383c26d78d9740768 Mon Sep 17 00:00:00 2001 From: Robin Haberkorn Date: Mon, 7 Jun 2021 17:58:54 +0200 Subject: get rid of the GObject Builder (GOB2): converted teco-gtk-info-popup.gob and teco-gtk-label.gob to plain C * Using modern GObject idioms and macros greatly reduces the necessary boilerplate code. * The plain C versions of our GObject classes are now "final" (cannot be derived) This means we can hide the instance structures from the headers and avoid using explicit private fields. * Avoids some deprecation warnings when building the Gtk UI. * GOB2 is apparently no longer maintained, so this seems like a good idea in the long run. * The most important reason however is that there is no precompiled GOB2 for Windows which prevents compilation on native Windows hosts, eg. during nightly builds. This is even more important as Gtk+3 is distributed on Windows practically exclusively via MSYS. (ArchLinux contains MinGW gtk3 packages as well, so cross-compiling from ArchLinux would have been an alternative.) --- .gitignore | 2 -- 1 file changed, 2 deletions(-) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 47c9379..823c690 100644 --- a/.gitignore +++ b/.gitignore @@ -34,8 +34,6 @@ testsuite.dir /src/sciteco-minimal # Generated source files -/src/interface-gtk/teco-gtk-info-popup.[ch] -/src/interface-gtk/teco-gtk-label.[ch] /src/symbols-scintilla.c /src/symbols-scilexer.c -- cgit v1.2.3