[gnome-builder] libide/threading: make silence API public for 44



commit a35a9abfc4df82161b861cb668bfa86363717d26
Author: Christian Hergert <chergert redhat com>
Date:   Tue Sep 27 17:26:12 2022 -0700

    libide/threading: make silence API public for 44

 src/libide/threading/ide-unix-fd-map-private.h | 33 --------------------------
 src/libide/threading/ide-unix-fd-map.c         |  3 +--
 src/libide/threading/ide-unix-fd-map.h         |  4 ++++
 src/plugins/gdb/gbp-gdb-debugger.c             |  3 +--
 4 files changed, 6 insertions(+), 37 deletions(-)
---
diff --git a/src/libide/threading/ide-unix-fd-map.c b/src/libide/threading/ide-unix-fd-map.c
index 7760045de..dc4b1535a 100644
--- a/src/libide/threading/ide-unix-fd-map.c
+++ b/src/libide/threading/ide-unix-fd-map.c
@@ -31,7 +31,6 @@
 #include <gio/gunixoutputstream.h>
 
 #include "ide-unix-fd-map.h"
-#include "ide-unix-fd-map-private.h"
 
 typedef struct
 {
@@ -525,7 +524,7 @@ failure:
 }
 
 gboolean
-ide_unix_fd_map_silence_fd (IdeUnixFdMap  *self,
+ide_unix_fd_map_silence_fd (IdeUnixFDMap  *self,
                             int            dest_fd,
                             GError       **error)
 {
diff --git a/src/libide/threading/ide-unix-fd-map.h b/src/libide/threading/ide-unix-fd-map.h
index e6444ba37..342dc41ae 100644
--- a/src/libide/threading/ide-unix-fd-map.h
+++ b/src/libide/threading/ide-unix-fd-map.h
@@ -89,5 +89,9 @@ GIOStream    *ide_unix_fd_map_create_stream   (IdeUnixFDMap  *self,
                                                int            dest_read_fd,
                                                int            dest_write_fd,
                                                GError       **error);
+IDE_AVAILABLE_IN_44
+gboolean      ide_unix_fd_map_silence_fd      (IdeUnixFDMap  *self,
+                                               int            dest_fd,
+                                               GError       **error);
 
 G_END_DECLS
diff --git a/src/plugins/gdb/gbp-gdb-debugger.c b/src/plugins/gdb/gbp-gdb-debugger.c
index c7d82e1d5..afd73a805 100644
--- a/src/plugins/gdb/gbp-gdb-debugger.c
+++ b/src/plugins/gdb/gbp-gdb-debugger.c
@@ -29,10 +29,9 @@
 #include <gio/gunixoutputstream.h>
 
 #include <libide-io.h>
+#include <libide-threading.h>
 #include <libide-terminal.h>
 
-#include "ide-unix-fd-map-private.h"
-
 #include "gbp-gdb-debugger.h"
 
 #define READ_BUFFER_LEN 4096


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