From 9b55f2dec0ea27a9ce4856e303425e12f866cea2 Mon Sep 17 00:00:00 2001 From: Michael Vetter Date: Tue, 7 Jul 2020 09:43:28 +0200 Subject: Apply coding style Regards https://github.com/profanity-im/profanity/issues/1396 --- src/tools/clipboard.c | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'src/tools/clipboard.c') diff --git a/src/tools/clipboard.c b/src/tools/clipboard.c index 9454915c..9485a4ad 100644 --- a/src/tools/clipboard.c +++ b/src/tools/clipboard.c @@ -36,8 +36,8 @@ #include "config.h" #ifdef HAVE_GTK -#include #include +#include #include #include "log.h" @@ -50,13 +50,15 @@ void clipboard_init(int argc, char **argv) { } */ -char *clipboard_get(void) { - gchar *clip; +char* +clipboard_get(void) +{ + gchar* clip; - GtkClipboard *cl = gtk_clipboard_get(GDK_SELECTION_CLIPBOARD); + GtkClipboard* cl = gtk_clipboard_get(GDK_SELECTION_CLIPBOARD); gtk_clipboard_clear(cl); - if(cl==NULL) { + if (cl == NULL) { log_error("Could not get clipboard"); return NULL; } -- cgit 1.4.1-2-gfad0