gplugin/gplugin

Run clang-format

2021-12-08, Gary Kramlich
ba6874e1ad57
Parents 9706b247f96c
Children f03eee6f9596
Run clang-format

Testing Done:
Ran the unit tests.

Reviewed at https://reviews.imfreedom.org/r/1155/
--- a/gplugin-gtk4/gplugin-gtk-plugin-row.c Wed Dec 08 01:33:01 2021 -0600
+++ b/gplugin-gtk4/gplugin-gtk-plugin-row.c Wed Dec 08 02:23:36 2021 -0600
@@ -250,7 +250,9 @@
gplugin_gtk_plugin_row_set_plugin(row, g_value_get_object(value));
break;
case PROP_EXPANDED:
- gplugin_gtk_plugin_row_set_expanded(row, g_value_get_boolean(value));
+ gplugin_gtk_plugin_row_set_expanded(
+ row,
+ g_value_get_boolean(value));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(obj, prop_id, pspec);
@@ -272,7 +274,9 @@
g_value_set_object(value, gplugin_gtk_plugin_row_get_plugin(row));
break;
case PROP_EXPANDED:
- g_value_set_boolean(value, gplugin_gtk_plugin_row_get_expanded(row));
+ g_value_set_boolean(
+ value,
+ gplugin_gtk_plugin_row_get_expanded(row));
break;
default:
G_OBJECT_WARN_INVALID_PROPERTY_ID(obj, prop_id, pspec);
--- a/gplugin-gtk4/gplugin-gtk-plugin-row.h Wed Dec 08 01:33:01 2021 -0600
+++ b/gplugin-gtk4/gplugin-gtk-plugin-row.h Wed Dec 08 02:23:36 2021 -0600
@@ -47,7 +47,9 @@
GPluginPlugin *plugin);
GPluginPlugin *gplugin_gtk_plugin_row_get_plugin(GPluginGtkPluginRow *row);
gboolean gplugin_gtk_plugin_row_get_expanded(GPluginGtkPluginRow *row);
-void gplugin_gtk_plugin_row_set_expanded(GPluginGtkPluginRow *row, gboolean expanded);
+void gplugin_gtk_plugin_row_set_expanded(
+ GPluginGtkPluginRow *row,
+ gboolean expanded);
gchar *gplugin_gtk_plugin_row_get_sort_key(GPluginGtkPluginRow *row);
gboolean gplugin_gtk_plugin_row_matches_search(
GPluginGtkPluginRow *row,
--- a/gplugin-gtk4/gplugin-gtk-view.c Wed Dec 08 01:33:01 2021 -0600
+++ b/gplugin-gtk4/gplugin-gtk-view.c Wed Dec 08 02:23:36 2021 -0600
@@ -58,8 +58,10 @@
* Helpers
*****************************************************************************/
static void
-gplugin_gtk_view_row_activated(G_GNUC_UNUSED GtkListBox *box,
- GtkListBoxRow *row, G_GNUC_UNUSED gpointer data)
+gplugin_gtk_view_row_activated(
+ G_GNUC_UNUSED GtkListBox *box,
+ GtkListBoxRow *row,
+ G_GNUC_UNUSED gpointer data)
{
GPluginGtkPluginRow *plugin_row = GPLUGIN_GTK_PLUGIN_ROW(row);
--- a/gplugin/gplugin-manager.c Wed Dec 08 01:33:01 2021 -0600
+++ b/gplugin/gplugin-manager.c Wed Dec 08 02:23:36 2021 -0600
@@ -30,8 +30,8 @@
/**
* GPluginManagerForeachFunc:
* @id: The id of the plugin.
- * @plugins: (transfer none) (element-type GPlugin.Plugin): A [struct@GLib.SList]
- * of each plugin that has the id @id.
+ * @plugins: (transfer none) (element-type GPlugin.Plugin): A
+ * [struct@GLib.SList] of each plugin that has the id @id.
* @data: User data passed to [method@GPlugin.Manager.foreach].
*
* A callback function for [method@GPlugin.Manager.foreach].