I have an application that requires use of callback functions that will not fire unless the glib g_main_loop is running. I am hazy on what a "good" pr ...
I have an application that requires use of callback functions that will not fire unless the glib g_main_loop is running. I am hazy on what a "good" pr ...
I am trying to compile with mingw32-make but the following error is displayed: the makefile is: And the file is too large so I will show where t ...
I have the following piece of code, compiled with gcc `pkg-config --cflags glib-2.0` test.c -o test the code works, but only when I use gcc `pkg-confi ...
I am trying to create a function that reads a .csv file and store and sort information into hash tables to later be accessed. I wish to use the funct ...
I am getting a compilation error saying: when I try including glib to my C program I am trying to include the glib header file to my C file but ...
I am trying to read the contents of a text file into Glib::ustrings. As i understand for the gtkmm-list at gnome.org I should read a line into an std: ...
In a GTK4 program I am using: to set the default "user_data" for GTK4 widget callbacks. I would like this to be a simple pointer (as I had it in GT ...
I am developing an application to connect to secure WiFi networks using the Connman DBus API. I have read that I need to register an object that imple ...
I am getting an array of strings via a function call over D-Bus as follows. I am using GLib then to parse the returned values. The code below is great ...
I am trying to create a GstValueArray in C++ to update a pad property in some GStreamer code, but am unable to figure out from the documentation how t ...
I've been testing this small code trying to learn how to use glib, and i came up with this memory leaks when using Gqueue . this is the code And th ...
everyone! I'm using glib-2.0, GString struct. Could g_string_append like function returns NULL? How to check malloc errors? Can I use it that? or ...
I try to build gst-plugins-base on macOS 12.5. I get this error on meson. Dependency glib-2.0 found: NO found 2.36.0 but need: '>= 2.56.0' I ...
I am adding I18N support to some Python code that uses GLib-based interface to the rest of the application. For consistency with the rest of the appli ...
I'm being unable to create certain C data structures in Python using Ctypes and then read them back properly. Consider the following: Setup: from ct ...
My excuses for the newbie question: I used gdbus-codegen to generate a C-code D-Bus client proxy, running on a Yocto Linux embedded system. The gener ...
I am reading the documentation for glib's CLI option parser and I'm very confused about one of their option flags. G_OPTION_FLAG_REVERSE ...
Program tries to create multiple webrtcbin elements to receive media from different sources same program works fine on windows but in mac it gives seg ...
I have a minimal GStreamer program: #include <gst/gst.h> int main() { gst_init(NULL, NULL); gst_deinit(); } I build it with gcc test.c ...
Questions Why does the unref at the end of transform_pointer_contents cause a double-free? I suspect that the dereferencing of tmp also unrefs ...