# HG changeset patch # User Bram Moolenaar # Date 1603277104 -7200 # Node ID cf8f2fa2c22a36250e68adc657e428a510e8117b # Parent 8e298ff5b1f47e9c0bf9801ecd4faf64790d9441 patch 8.2.1875: warning when building GTK gui Commit: https://github.com/vim/vim/commit/3da855c8e28140d9f02b1572e445f8d4f977cf64 Author: Bram Moolenaar Date: Wed Oct 21 12:38:00 2020 +0200 patch 8.2.1875: warning when building GTK gui Problem: Warning when building GTK gui. Solution: Add missing function parameter. diff --git a/src/gui_gtk_f.c b/src/gui_gtk_f.c --- a/src/gui_gtk_f.c +++ b/src/gui_gtk_f.c @@ -51,7 +51,7 @@ struct _GtkFormChild static void gtk_form_class_init(GtkFormClass *klass); -static void gtk_form_init(GtkForm *form); +static void gtk_form_init(GtkForm *form, void *g_class); static void gtk_form_realize(GtkWidget *widget); static void gtk_form_unrealize(GtkWidget *widget); @@ -270,7 +270,7 @@ gtk_form_class_init(GtkFormClass *klass) } static void -gtk_form_init(GtkForm *form) +gtk_form_init(GtkForm *form, void *g_class UNUSED) { #if GTK_CHECK_VERSION(3,0,0) gtk_widget_set_has_window(GTK_WIDGET(form), TRUE); diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -751,6 +751,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1875, +/**/ 1874, /**/ 1873,