summaryrefslogtreecommitdiff
path: root/app/wlib/gtklib/notice.c
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-03-19 19:56:15 +0100
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-03-19 19:56:15 +0100
commit1542c122b3672fe83e027411ad2445772e2d0ed3 (patch)
treee535bc621bd7ffa9d5ce89e0d495df5d1c4ab6fd /app/wlib/gtklib/notice.c
parent773810e6583142d7d15263e6481c42aebed6d7f1 (diff)
parentd1a8285f818eb7e5c3d6a05709ea21a808490b8c (diff)
Update upstream source from tag 'upstream/5.1.0'
Update to upstream version '5.1.0' with Debian dir 93ca74b8b4602fce4c9c7740e0cfdde25f086673
Diffstat (limited to 'app/wlib/gtklib/notice.c')
-rw-r--r--app/wlib/gtklib/notice.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/wlib/gtklib/notice.c b/app/wlib/gtklib/notice.c
index cf4b59f..b72afd6 100644
--- a/app/wlib/gtklib/notice.c
+++ b/app/wlib/gtklib/notice.c
@@ -25,6 +25,7 @@
#include <stdlib.h>
#include <sys/time.h>
#include <signal.h>
+#include <string.h>
#define GTK_DISABLE_SINGLE_INCLUDES
#define GDK_DISABLE_DEPRECATED
@@ -82,7 +83,7 @@ int wNoticeEx(int type,
unsigned flag;
char *headline;
GtkWidget *dialog;
- GtkWindow *parent = GTK_WINDOW_TOPLEVEL;
+ GtkWindow *parent = NULL;
switch (type) {
case NT_INFORMATION: