0
0
mirror of https://github.com/vim/vim.git synced 2025-09-24 03:44:06 -04:00

patch 8.2.1875: warning when building GTK gui

Problem:    Warning when building GTK gui.
Solution:   Add missing function parameter.
This commit is contained in:
Bram Moolenaar
2020-10-21 12:38:00 +02:00
parent b53e13a91a
commit 3da855c8e2
2 changed files with 4 additions and 2 deletions

View 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);