To: vim_dev@googlegroups.com Subject: Patch 8.2.1875 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ Patch 8.2.1875 Problem: Warning when building GTK gui. Solution: Add missing function parameter. Files: src/gui_gtk_f.c *** ../vim-8.2.1874/src/gui_gtk_f.c 2020-04-12 19:37:13.510297280 +0200 --- src/gui_gtk_f.c 2020-10-21 12:15:23.445883076 +0200 *************** *** 51,57 **** static void gtk_form_class_init(GtkFormClass *klass); ! static void gtk_form_init(GtkForm *form); static void gtk_form_realize(GtkWidget *widget); static void gtk_form_unrealize(GtkWidget *widget); --- 51,57 ---- static void gtk_form_class_init(GtkFormClass *klass); ! 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,276 **** } static void ! gtk_form_init(GtkForm *form) { #if GTK_CHECK_VERSION(3,0,0) gtk_widget_set_has_window(GTK_WIDGET(form), TRUE); --- 270,276 ---- } static void ! 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); *** ../vim-8.2.1874/src/version.c 2020-10-21 12:19:50.080854732 +0200 --- src/version.c 2020-10-21 12:37:27.814864303 +0200 *************** *** 752,753 **** --- 752,755 ---- { /* Add new patch number below this line */ + /**/ + 1875, /**/ -- Common sense is what tells you that the world is flat. /// Bram Moolenaar -- Bram@Moolenaar.net -- 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 ///