diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-10-21 12:38:00 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-10-21 12:38:00 +0200 |
commit | 3da855c8e28140d9f02b1572e445f8d4f977cf64 (patch) | |
tree | 65db7aaf13d4d125abbb54141174deacb1bb5c95 /src/gui_gtk_f.c | |
parent | b53e13a91ab2fc9d52bd044715daa84972f4ce47 (diff) | |
download | vim-git-3da855c8e28140d9f02b1572e445f8d4f977cf64.tar.gz |
patch 8.2.1875: warning when building GTK guiv8.2.1875
Problem: Warning when building GTK gui.
Solution: Add missing function parameter.
Diffstat (limited to 'src/gui_gtk_f.c')
-rw-r--r-- | src/gui_gtk_f.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui_gtk_f.c b/src/gui_gtk_f.c index 2a9e5a087..4d0290cb6 100644 --- 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); |