comparison src/gui_gtk_f.c @ 22653:cf8f2fa2c22a v8.2.1875

patch 8.2.1875: warning when building GTK gui Commit: https://github.com/vim/vim/commit/3da855c8e28140d9f02b1572e445f8d4f977cf64 Author: Bram Moolenaar <Bram@vim.org> 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.
author Bram Moolenaar <Bram@vim.org>
date Wed, 21 Oct 2020 12:45:04 +0200
parents aadd1cae2ff5
children 8623ab39b421
comparison
equal deleted inserted replaced
22652:8e298ff5b1f4 22653:cf8f2fa2c22a
49 gint mapped; 49 gint mapped;
50 }; 50 };
51 51
52 52
53 static void gtk_form_class_init(GtkFormClass *klass); 53 static void gtk_form_class_init(GtkFormClass *klass);
54 static void gtk_form_init(GtkForm *form); 54 static void gtk_form_init(GtkForm *form, void *g_class);
55 55
56 static void gtk_form_realize(GtkWidget *widget); 56 static void gtk_form_realize(GtkWidget *widget);
57 static void gtk_form_unrealize(GtkWidget *widget); 57 static void gtk_form_unrealize(GtkWidget *widget);
58 static void gtk_form_map(GtkWidget *widget); 58 static void gtk_form_map(GtkWidget *widget);
59 static void gtk_form_size_request(GtkWidget *widget, 59 static void gtk_form_size_request(GtkWidget *widget,
268 container_class->remove = gtk_form_remove; 268 container_class->remove = gtk_form_remove;
269 container_class->forall = gtk_form_forall; 269 container_class->forall = gtk_form_forall;
270 } 270 }
271 271
272 static void 272 static void
273 gtk_form_init(GtkForm *form) 273 gtk_form_init(GtkForm *form, void *g_class UNUSED)
274 { 274 {
275 #if GTK_CHECK_VERSION(3,0,0) 275 #if GTK_CHECK_VERSION(3,0,0)
276 gtk_widget_set_has_window(GTK_WIDGET(form), TRUE); 276 gtk_widget_set_has_window(GTK_WIDGET(form), TRUE);
277 #endif 277 #endif
278 form->children = NULL; 278 form->children = NULL;