[evince/wip/gpoo/gtk4-rebase-port: 20/65] main: run gtk_init before getting GdkDisplay




commit 5178a2c261d65cb520249e398ff17b9f51e76fc8
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]