From 6e90804b30e1a822c98ec27c0ba343275e7e2255 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 18 Oct 2010 18:25:03 +0200 Subject: [PATCH] notebook: Hi, I can't get my function prototypes right Also, I refuse to compile with -Werror --- gtk/gtknotebook.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c index b8a0997917..2827645f96 100644 --- a/gtk/gtknotebook.c +++ b/gtk/gtknotebook.c @@ -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;