Patch 8.2.2119
Problem: GTK3: status line background color is wrong.
Solution: Don't change the code for earlier GTK3 versions. (closes #7444)
Files: src/gui_gtk_x11.c
*** ../vim-8.2.2118/src/gui_gtk_x11.c 2020-12-08 20:31:12.355320557 +0100
--- src/gui_gtk_x11.c 2020-12-09 15:53:10.293322553 +0100
***************
*** 4031,4045 ****
void
gui_mch_new_colors(void)
{
! if (gui.formwin != NULL && gtk_widget_get_window(gui.formwin) != NULL)
{
#if !GTK_CHECK_VERSION(3,22,2)
! GdkWindow * const da_win = gtk_widget_get_window(gui.formwin);
#endif
-
#if GTK_CHECK_VERSION(3,22,2)
! GtkStyleContext * const context
! = gtk_widget_get_style_context(gui.formwin);
GtkCssProvider * const provider = gtk_css_provider_new();
gchar * const css = g_strdup_printf(
"widget#vim-gtk-form {\n"
--- 4031,4048 ----
void
gui_mch_new_colors(void)
{
! if (gui.drawarea != NULL
! #if GTK_CHECK_VERSION(3,22,2)
! && gui.formwin != NULL
! #endif
! && gtk_widget_get_window(gui.drawarea) != NULL)
{
#if !GTK_CHECK_VERSION(3,22,2)
! GdkWindow * const da_win = gtk_widget_get_window(gui.drawarea);
#endif
#if GTK_CHECK_VERSION(3,22,2)
! GtkStyleContext * const context =
! gtk_widget_get_style_context(gui.formwin);
GtkCssProvider * const provider = gtk_css_provider_new();
gchar * const css = g_strdup_printf(
"widget#vim-gtk-form {\n"
*** ../vim-8.2.2118/src/version.c 2020-12-09 13:16:09.970838581 +0100
--- src/version.c 2020-12-09 15:46:53.706726524 +0100
***************
*** 752,753 ****
--- 752,755 ----
{ /* Add new patch number below this line */
+ /**/
+ 2119,
/**/
--
My Go, this amn keyboar oesn't have a .
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\ an exciting new programming language -- http://www.Zimbu.org ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
---
You received this message because you are subscribed to the Google Groups
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/202012091453.0B9Ers3Z1931402%40masaka.moolenaar.net.