diff options
author | John Preston <johnprestonmail@gmail.com> | 2021-03-31 15:25:19 +0400 |
---|---|---|
committer | John Preston <johnprestonmail@gmail.com> | 2021-04-06 18:41:16 +0400 |
commit | e6587f2556c0c58581c22022119cd7b69adc8e4b (patch) | |
tree | c31fdcbd261d1f60d3c966c8b2bdbd49a1fc80cf /Telegram/SourceFiles/platform/linux/linux_gdk_helper.cpp | |
parent | d40687adb8703fd016c06083a394fa1af19e1eab (diff) |
Add limited webview support on Linux.
Diffstat (limited to 'Telegram/SourceFiles/platform/linux/linux_gdk_helper.cpp')
-rw-r--r-- | Telegram/SourceFiles/platform/linux/linux_gdk_helper.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Telegram/SourceFiles/platform/linux/linux_gdk_helper.cpp b/Telegram/SourceFiles/platform/linux/linux_gdk_helper.cpp index cf9c1740d9..ab65c36ccb 100644 --- a/Telegram/SourceFiles/platform/linux/linux_gdk_helper.cpp +++ b/Telegram/SourceFiles/platform/linux/linux_gdk_helper.cpp @@ -65,8 +65,8 @@ bool GdkHelperLoadGtk2(QLibrary &lib) { #ifdef LINK_TO_GTK return false; #else // LINK_TO_GTK - if (!LOAD_GTK_SYMBOL(lib, "gdk_x11_drawable_get_xdisplay", gdk_x11_drawable_get_xdisplay)) return false; - if (!LOAD_GTK_SYMBOL(lib, "gdk_x11_drawable_get_xid", gdk_x11_drawable_get_xid)) return false; + if (!LOAD_GTK_SYMBOL(lib, gdk_x11_drawable_get_xdisplay)) return false; + if (!LOAD_GTK_SYMBOL(lib, gdk_x11_drawable_get_xid)) return false; return true; #endif // !LINK_TO_GTK #else // !DESKTOP_APP_DISABLE_X11_INTEGRATION @@ -76,10 +76,10 @@ bool GdkHelperLoadGtk2(QLibrary &lib) { bool GdkHelperLoadGtk3(QLibrary &lib) { #ifndef DESKTOP_APP_DISABLE_X11_INTEGRATION - if (!LOAD_GTK_SYMBOL(lib, "gdk_x11_window_get_type", gdk_x11_window_get_type)) return false; - if (!LOAD_GTK_SYMBOL(lib, "gdk_window_get_display", gdk_window_get_display)) return false; - if (!LOAD_GTK_SYMBOL(lib, "gdk_x11_display_get_xdisplay", gdk_x11_display_get_xdisplay)) return false; - if (!LOAD_GTK_SYMBOL(lib, "gdk_x11_window_get_xid", gdk_x11_window_get_xid)) return false; + if (!LOAD_GTK_SYMBOL(lib, gdk_x11_window_get_type)) return false; + if (!LOAD_GTK_SYMBOL(lib, gdk_window_get_display)) return false; + if (!LOAD_GTK_SYMBOL(lib, gdk_x11_display_get_xdisplay)) return false; + if (!LOAD_GTK_SYMBOL(lib, gdk_x11_window_get_xid)) return false; return true; #else // !DESKTOP_APP_DISABLE_X11_INTEGRATION return false; |