[totem] Remove use of GtkNotebookPage due to removal from GTK+



commit 519a608b9edd98e754a496078ca3cb5049ed532c
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 c5fc735..45b27a6 100644
--- a/src/plugins/youtube/totem-youtube.c
+++ b/src/plugins/youtube/totem-youtube.c
@@ -93,7 +93,7 @@ typedef struct {
 GType totem_youtube_plugin_get_type (void) G_GNUC_CONST;
 
 /* 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);
@@ -961,7 +961,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]