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:
@@ -51,7 +51,7 @@ struct _GtkFormChild
|
|||||||
|
|
||||||
|
|
||||||
static void gtk_form_class_init(GtkFormClass *klass);
|
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_realize(GtkWidget *widget);
|
||||||
static void gtk_form_unrealize(GtkWidget *widget);
|
static void gtk_form_unrealize(GtkWidget *widget);
|
||||||
@@ -270,7 +270,7 @@ gtk_form_class_init(GtkFormClass *klass)
|
|||||||
}
|
}
|
||||||
|
|
||||||
static void
|
static void
|
||||||
gtk_form_init(GtkForm *form)
|
gtk_form_init(GtkForm *form, void *g_class UNUSED)
|
||||||
{
|
{
|
||||||
#if GTK_CHECK_VERSION(3,0,0)
|
#if GTK_CHECK_VERSION(3,0,0)
|
||||||
gtk_widget_set_has_window(GTK_WIDGET(form), TRUE);
|
gtk_widget_set_has_window(GTK_WIDGET(form), TRUE);
|
||||||
|
@@ -750,6 +750,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
1875,
|
||||||
/**/
|
/**/
|
||||||
1874,
|
1874,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user