[evince/wip/gpoo/gtk4-rebase-port: 34/96] main: run gtk_init before getting GdkDisplay
- From: Germán Poo-Caamaño <gpoo src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evince/wip/gpoo/gtk4-rebase-port: 34/96] main: run gtk_init before getting GdkDisplay
- Date: Sun, 20 Mar 2022 21:50:29 +0000 (UTC)
commit caa68f536f4f85fcb1fa174e92294927e6301485
Author: Qiu Wenbo <qiuwenbo kylinos com cn>
Date: Mon Aug 16 10:42:06 2021 +0800
main: run gtk_init before getting GdkDisplay
Signed-off-by: Qiu Wenbo <qiuwenbo kylinos com cn>
shell/main.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/shell/main.c b/shell/main.c
index 83c7dcc83..53bf10d35 100644
--- a/shell/main.c
+++ b/shell/main.c
@@ -292,6 +292,7 @@ main (int argc, char *argv[])
if (!ev_init ())
return 1;
+ gtk_init ();
ev_stock_icons_init ();
/* Manually set name and icon */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]