[totem/gnome-2-32] Remove use of GtkNotebookPage due to removal from GTK+



commit 58d5302a9d53aca05482bb50ec9654fe5ad3902d
Author: Philip Withnall <philip tecnocode co uk>
Date:   Thu Jul 15 09:29:05 2010 +0100

    Remove use of GtkNotebookPage due to removal from GTK+

 src/plugins/youtube/totem-youtube.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/youtube/totem-youtube.c b/src/plugins/youtube/totem-youtube.c
index c6b7467..9fd8cee 100644
--- a/src/plugins/youtube/totem-youtube.c
+++ b/src/plugins/youtube/totem-youtube.c
@@ -93,7 +93,7 @@ static gboolean impl_activate			(TotemPlugin *plugin, TotemObject *totem, GError
 static void impl_deactivate			(TotemPlugin *plugin, TotemObject *totem);
 
 /* GtkBuilder callbacks */
-void notebook_switch_page_cb (GtkNotebook *notebook, GtkNotebookPage *page, guint page_num, TotemYouTubePlugin *self);
+void notebook_switch_page_cb (GtkNotebook *notebook, gpointer *page, guint page_num, TotemYouTubePlugin *self);
 void search_button_clicked_cb (GtkButton *button, TotemYouTubePlugin *self);
 void cancel_button_clicked_cb (GtkButton *button, TotemYouTubePlugin *self);
 void search_entry_activate_cb (GtkEntry *entry, TotemYouTubePlugin *self);
@@ -962,7 +962,7 @@ load_related_videos (TotemYouTubePlugin *self)
 }
 
 void
-notebook_switch_page_cb (GtkNotebook *notebook, GtkNotebookPage *page, guint page_num, TotemYouTubePlugin *self)
+notebook_switch_page_cb (GtkNotebook *notebook, gpointer *page, guint page_num, TotemYouTubePlugin *self)
 {
 	/* Change the tree view */
 	self->current_tree_view = page_num;



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