[Libguestfs] [p2v PATCH 07/11] gui: wrap overlong function declaration lines

Laszlo Ersek lersek at redhat.com
Mon Jan 30 14:22:24 UTC 2023


Cc: Alban Lecorps <alban.lecorps at ubisoft.com>
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1792141
Signed-off-by: Laszlo Ersek <lersek at redhat.com>
---
 gui.c | 17 +++++++++++++----
 1 file changed, 13 insertions(+), 4 deletions(-)

diff --git a/gui.c b/gui.c
index e29a9534a195..f3dbea7d725a 100644
--- a/gui.c
+++ b/gui.c
@@ -672,8 +672,13 @@ static void populate_removable_store (GtkListStore *removable_store,
 static void populate_removable (GtkTreeView *removable_list_p,
                                 const char * const *removable);
 static void populate_interfaces (GtkTreeView *interfaces_list_p);
-static void toggled (GtkCellRendererToggle *cell, gchar *path_str, gpointer data);
-static void network_edited_callback (GtkCellRendererToggle *cell, gchar *path_str, gchar *new_text, gpointer data);
+static void toggled (GtkCellRendererToggle *cell,
+                     gchar *path_str,
+                     gpointer data);
+static void network_edited_callback (GtkCellRendererToggle *cell,
+                                     gchar *path_str,
+                                     gchar *new_text,
+                                     gpointer data);
 static gboolean maybe_identify_click (GtkWidget *interfaces_list_p,
                                       GdkEventButton *event,
                                       gpointer data);
@@ -1755,10 +1760,14 @@ static void *start_conversion_thread (void *data);
 static gboolean conversion_error (gpointer user_data);
 static gboolean conversion_finished (gpointer user_data);
 static void cancel_conversion_dialog (GtkWidget *w, gpointer data);
-static void activate_action (GSimpleAction *action, GVariant *parameter, gpointer user_data);
+static void activate_action (GSimpleAction *action,
+                             GVariant *parameter,
+                             gpointer user_data);
 static void shutdown_clicked (GtkWidget *w, gpointer data);
 static void reboot_clicked (GtkWidget *w, gpointer data);
-static gboolean close_running_dialog (GtkWidget *w, GdkEvent *event, gpointer data);
+static gboolean close_running_dialog (GtkWidget *w,
+                                      GdkEvent *event,
+                                      gpointer data);
 
 static const GActionEntry shutdown_actions[] = {
   { .name = "shutdown", .activate = activate_action },



More information about the Libguestfs mailing list