~kennylevinsen/greetd

[PATCH] Fix linkage on Fedora 32

Details
Message ID
<20200408170516.627958-1-oranenj@iki.fi>
DKIM signature
missing
Download raw message
Patch: +4 -2
---
 gtkgreet/gtkgreet.h | 4 ++--
 gtkgreet/main.c     | 2 ++
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/gtkgreet/gtkgreet.h b/gtkgreet/gtkgreet.h
index e872633..aedb5df 100644
--- a/gtkgreet/gtkgreet.h
+++ b/gtkgreet/gtkgreet.h
@@ -35,7 +35,7 @@ struct GtkGreet {
    char time[8];
};

struct GtkGreet *gtkgreet;
extern struct GtkGreet *gtkgreet;

struct Window* gtkgreet_window_by_widget(struct GtkGreet *gtkgreet, GtkWidget *window);
struct Window* gtkgreet_window_by_monitor(struct GtkGreet *gtkgreet, GdkMonitor *monitor);
@@ -47,4 +47,4 @@ struct GtkGreet* create_gtkgreet();
void gtkgreet_activate(struct GtkGreet *gtkgreet);
void gtkgreet_destroy(struct GtkGreet *gtkgreet);

#endif
\ No newline at end of file
#endif
diff --git a/gtkgreet/main.c b/gtkgreet/main.c
index a268b07..d040162 100644
--- a/gtkgreet/main.c
+++ b/gtkgreet/main.c
@@ -6,6 +6,8 @@
#include "window.h"
#include "gtkgreet.h"

struct GtkGreet *gtkgreet = NULL;

static char* command = NULL;

#ifdef LAYER_SHELL
-- 
2.26.0
Export thread (mbox)