mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-27 00:26:21 +00:00
Apply coding style
Regards https://github.com/profanity-im/profanity/issues/1396
This commit is contained in:
@@ -36,8 +36,8 @@
|
||||
#include "config.h"
|
||||
|
||||
#ifdef HAVE_GTK
|
||||
#include <gtk/gtk.h>
|
||||
#include <glib.h>
|
||||
#include <gtk/gtk.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
#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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user