]> granicus.if.org Git - vim/commitdiff
patch 8.2.1875: warning when building GTK gui v8.2.1875
authorBram Moolenaar <Bram@vim.org>
Wed, 21 Oct 2020 10:38:00 +0000 (12:38 +0200)
committerBram Moolenaar <Bram@vim.org>
Wed, 21 Oct 2020 10:38:00 +0000 (12:38 +0200)
Problem:    Warning when building GTK gui.
Solution:   Add missing function parameter.

src/gui_gtk_f.c
src/version.c

index 2a9e5a087276efb46f49e6946e779dbd81fef5df..4d0290cb6f20b214b823d504a129958e9cf0bd4b 100644 (file)
@@ -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);
index 2b02d486a7293b64297d3eebe9fb09137d859eef..8e5c08f5b2f2f9d31c77c7a6260d8f0ef5a1ff5a 100644 (file)
@@ -750,6 +750,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1875,
 /**/
     1874,
 /**/