[nautilus] Update GtkNotebook callbacks to gtk+ master



commit 397f9a3b66edfde3974256c7c4ac3e031ef99328
Author: Diego Escalante Urrelo <descalante igalia com>
Date:   Tue Jul 13 20:10:08 2010 -0500

    Update GtkNotebook callbacks to gtk+ master
    
    GtkNotebookPage is gone in switch-page, it's just a GtkWidget now.
    
    Bug #624295

 src/nautilus-navigation-window-pane.c |    2 +-
 src/nautilus-side-pane.c              |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/nautilus-navigation-window-pane.c b/src/nautilus-navigation-window-pane.c
index 65359cf..68662aa 100644
--- a/src/nautilus-navigation-window-pane.c
+++ b/src/nautilus-navigation-window-pane.c
@@ -458,7 +458,7 @@ notebook_popup_menu_cb (GtkWidget *widget,
 
 static gboolean
 notebook_switch_page_cb (GtkNotebook *notebook,
-			 GtkNotebookPage *page,
+			 GtkWidget *page,
 			 unsigned int page_num,
 			 NautilusNavigationWindowPane *pane)
 {
diff --git a/src/nautilus-side-pane.c b/src/nautilus-side-pane.c
index 23dbb23..d8e0f6a 100644
--- a/src/nautilus-side-pane.c
+++ b/src/nautilus-side-pane.c
@@ -90,7 +90,7 @@ side_panel_free (SidePanel *panel)
 
 static void
 switch_page_callback (GtkWidget *notebook,
-		      GtkNotebookPage *page,
+		      GtkWidget *page,
 		      guint page_num,
 		      gpointer user_data)
 {



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