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:
parent
291f9de1e9
commit
5d6cb3c741
@ -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;
|
||||
|
@ -36,7 +36,6 @@
|
||||
#define UI_CLIPBOARD_H
|
||||
|
||||
#ifdef HAVE_GTK
|
||||
void clipboard_init(int argc, char **argv);
|
||||
char *clipboard_get(void);
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user