gplugin/gplugin

Ran clang-format

17 months ago, Gary Kramlich
9c9f3a78a6f6
Parents 23e774c51300
Children da782d1b051f
Ran clang-format

Testing Done:
ran `ninja clang-format`

Reviewed at https://reviews.imfreedom.org/r/2087/
--- a/gplugin-gtk4-viewer/gplugin-gtk-viewer.c Wed Nov 23 22:47:04 2022 -0600
+++ b/gplugin-gtk4-viewer/gplugin-gtk-viewer.c Wed Nov 23 23:53:52 2022 -0600
@@ -126,7 +126,7 @@
textdomain(GETTEXT_PACKAGE);
/* Prepare application and options. */
-#if GLIB_CHECK_VERSION(2,74,0)
+#if GLIB_CHECK_VERSION(2, 74, 0)
app = gtk_application_new(NULL, G_APPLICATION_DEFAULT_FLAGS);
#else
app = gtk_application_new(NULL, G_APPLICATION_FLAGS_NONE);
--- a/python3/gplugin-python3-loader.c Wed Nov 23 22:47:04 2022 -0600
+++ b/python3/gplugin-python3-loader.c Wed Nov 23 23:53:52 2022 -0600
@@ -346,8 +346,8 @@
PyStatus status;
PyConfig_InitIsolatedConfig(&config);
- status = PyConfig_SetBytesString(&config, &config.program_name,
- g_get_prgname());
+ status =
+ PyConfig_SetBytesString(&config, &config.program_name, g_get_prgname());
if(PyStatus_Exception(status)) {
g_warning("Could not convert program name to wchar_t string.");
PyConfig_Clear(&config);
@@ -361,7 +361,7 @@
g_warning("Could not initialize Python.");
return FALSE;
}
-#else /* PY_VERSION_HEX >= 0x03080000 */
+#else /* PY_VERSION_HEX >= 0x03080000 */
wchar_t *argv[] = {NULL, NULL};
/* Initializes Python3 */
--- a/python3/gplugin-python3-test-pygobject.c Wed Nov 23 22:47:04 2022 -0600
+++ b/python3/gplugin-python3-test-pygobject.c Wed Nov 23 23:53:52 2022 -0600
@@ -44,7 +44,7 @@
printf("Could not initialize Python.\n");
return FALSE;
}
-#else /* PY_VERSION_HEX >= 0x03080000 */
+#else /* PY_VERSION_HEX >= 0x03080000 */
wchar_t *wargv[] = {NULL, NULL};
size_t len;