[gnome-builder] plugins/cmake: port to GTK 4



commit 5d015e20ba04d9d17f72d27309a4d166e3918fb5
Author: Christian Hergert <chergert redhat com>
Date:   Mon Jul 11 22:19:58 2022 -0700

    plugins/cmake: port to GTK 4
    
     - Remove libdazzle usage
     - Update for pipeline changes
     - Improve titles in file browser

 src/plugins/cmake/cmake.plugin               | 4 ++--
 src/plugins/cmake/gbp-cmake-pipeline-addin.c | 2 +-
 src/plugins/cmake/gbp-cmake-toolchain.c      | 2 --
 3 files changed, 3 insertions(+), 5 deletions(-)
---
diff --git a/src/plugins/cmake/cmake.plugin b/src/plugins/cmake/cmake.plugin
index f7e1b41ec..3e5d6cd03 100644
--- a/src/plugins/cmake/cmake.plugin
+++ b/src/plugins/cmake/cmake.plugin
@@ -4,8 +4,8 @@ Builtin=true
 Copyright=Copyright © 2017 Martin Blanchard
 Description=Provides integration with the CMake build system
 Embedded=_gbp_cmake_register_types
-Hidden=true
 Module=cmake
 Name=CMake
-X-Project-File-Filter-Name=CMake Project (CMakeLists.txt)
+X-Category=buildsystems
+X-Project-File-Filter-Name=CMake (CMakeLists.txt)
 X-Project-File-Filter-Pattern=CMakeLists.txt
diff --git a/src/plugins/cmake/gbp-cmake-pipeline-addin.c b/src/plugins/cmake/gbp-cmake-pipeline-addin.c
index d90fa887b..c282adc01 100644
--- a/src/plugins/cmake/gbp-cmake-pipeline-addin.c
+++ b/src/plugins/cmake/gbp-cmake-pipeline-addin.c
@@ -191,7 +191,7 @@ gbp_cmake_pipeline_addin_load (IdePipelineAddin *addin,
       ide_subprocess_launcher_push_argv (configure_launcher, toolchain_option);
     }
 
-  if (!dzl_str_empty0 (config_opts))
+  if (!ide_str_empty0 (config_opts))
     {
       g_auto(GStrv) argv = NULL;
       gint argc;
diff --git a/src/plugins/cmake/gbp-cmake-toolchain.c b/src/plugins/cmake/gbp-cmake-toolchain.c
index 75d10b50d..14d0daa21 100644
--- a/src/plugins/cmake/gbp-cmake-toolchain.c
+++ b/src/plugins/cmake/gbp-cmake-toolchain.c
@@ -68,8 +68,6 @@ gbp_cmake_toolchain_new (IdeContext *context)
  * Gets the path to the CMake cross-compilation definitions
  *
  * Returns: (transfer none): the path to the CMake cross-compilation definitions file.
- *
- * Since: 3.30
  */
 const gchar *
 gbp_cmake_toolchain_get_file_path (GbpCMakeToolchain  *self)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]