1
0
mirror of https://github.com/profanity-im/profanity.git synced 2024-11-03 19:37:16 -05:00

Dont use clipboard_init yet

For now we initialize gtk in tray_init().
Should maybe use a general function and check in tray_init and
clipboard_init whether gtk was already initialized.
This commit is contained in:
Michael Vetter 2019-10-29 15:01:07 +01:00
parent 291f9de1e9
commit 5d6cb3c741
2 changed files with 4 additions and 1 deletions

View File

@ -41,9 +41,13 @@
#include "log.h"
/*
For now we rely on tray_init(void)
void clipboard_init(int argc, char **argv) {
gtk_init(&argc, &argv);
}
*/
char *clipboard_get(void) {
gchar *clip;

View File

@ -36,7 +36,6 @@
#define UI_CLIPBOARD_H
#ifdef HAVE_GTK
void clipboard_init(int argc, char **argv);
char *clipboard_get(void);
#endif