notebook: Hi, I can't get my function prototypes right

Also, I refuse to compile with -Werror
This commit is contained in:
Benjamin Otte 2010-10-18 18:25:03 +02:00
parent e0d7da3c8c
commit 6e90804b30

View File

@ -587,11 +587,11 @@ gtk_object_handled_accumulator (GSignalInvocationHint *ihint,
}
static void
gtk_notebook_compute_expand (GtkContainer *container,
gboolean *hexpand_p,
gboolean *vexpand_p)
gtk_notebook_compute_expand (GtkWidget *widget,
gboolean *hexpand_p,
gboolean *vexpand_p)
{
GtkNotebook *notebook = GTK_NOTEBOOK (container);
GtkNotebook *notebook = GTK_NOTEBOOK (widget);
GtkNotebookPrivate *priv = notebook->priv;
gboolean hexpand;
gboolean vexpand;