Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Posts by Newbyte
I'm working on an app for Linux phone operating systems like postmarketOS and publishing it as a Flatpak on Flathub. What steps do I need to take to make it appear as a "mobile friendly" app in the...
I'm writing tests for some code that interacts with the filesystem, and I want to assert that it writes the expected data to disk. My problem is that some of the code I want to test includes hardco...
I ended up implementing it like this: #define RGB_HEX_STRING_LENGTH 8 gchar * gdkrgba_to_rgb_hex_string (const GdkRGBA *const from) { guchar red = roundf (from->red * 255.0f); guchar...
I have a program that reads a hexadecimal string representation from a configuration file, turns it into a GdkRGBA struct from Gdk, uses gtk_color_dialog_button_set_rgba () to set it as the default...
I'm creating a flatpak-builder manifest wherein I want to do some "pre-processing" steps of the source code in a given module before the build system is invoked. In particular, I want to "merge" th...
This won't work for every use-case, but for mine I was able to use the G_TEST_OPTION_ISOLATE_DIRS flag for g_test_init () like so: g_test_init (&argc, &argv, G_TEST_OPTION_ISOLATE_DIRS, NU...
