[gtk+] notebook: Hi, I can't get my function prototypes right
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gtk+] notebook: Hi, I can't get my function prototypes right
- Date: Mon, 18 Oct 2010 17:26:06 +0000 (UTC)
commit 6e90804b30e1a822c98ec27c0ba343275e7e2255
Author: Benjamin Otte <otte redhat com>
Date:   Mon Oct 18 18:25:03 2010 +0200
    notebook: Hi, I can't get my function prototypes right
    
    Also, I refuse to compile with -Werror
 gtk/gtknotebook.c |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/gtk/gtknotebook.c b/gtk/gtknotebook.c
index b8a0997..2827645 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;
[
Date Prev][
Date Next]   [
Thread Prev][
Thread Next]   
[
Thread Index]
[
Date Index]
[
Author Index]