[gnome-control-center] shell: Fix build with recent GTK+ deprecations



commit ce2f25082abdf2adf4fba7bbe67733ae880409bf
Author: Thomas Wood <thomas wood intel com>
Date:   Wed Jul 14 12:02:03 2010 +0100

    shell: Fix build with recent GTK+ deprecations
    
    GtkNotebookPage has been deprecated and the prototype of the
    GtkNotebook::switch-page signal has changed.

 shell/gnome-control-center.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/shell/gnome-control-center.c b/shell/gnome-control-center.c
index ee5e2b7..0db4584 100644
--- a/shell/gnome-control-center.c
+++ b/shell/gnome-control-center.c
@@ -668,7 +668,7 @@ home_button_clicked_cb (GtkButton *button,
 
 static void
 notebook_switch_page_cb (GtkNotebook               *book,
-                         GtkNotebookPage           *page,
+                         GtkWidget                 *child,
                          gint                       page_num,
                          GnomeControlCenterPrivate *priv)
 {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]