[anjuta] Fixed bgo #625884 - no more GtkNotebookPage



commit 5f14778c3dcf342dc8256668312e488891188329
Author: Evgeny Grablyk <evgeny grablyk gmail com>
Date:   Tue Aug 24 17:05:17 2010 +0300

    Fixed bgo #625884 - no more GtkNotebookPage
    
    Replacing GtkNotebookPage with GtkWidget according to changes in GTK+
    
    Fixes https://bugzilla.gnome.org/show_bug.cgi?id=625884

 libanjuta/anjuta-tabber.c                |    2 +-
 plugins/class-gen/window.c               |    2 +-
 plugins/document-manager/anjuta-docman.c |    4 ++--
 plugins/message-view/anjuta-msgman.c     |    2 +-
 4 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/libanjuta/anjuta-tabber.c b/libanjuta/anjuta-tabber.c
index 1757f40..4c2fedb 100644
--- a/libanjuta/anjuta-tabber.c
+++ b/libanjuta/anjuta-tabber.c
@@ -75,7 +75,7 @@ anjuta_tabber_notebook_page_removed (GtkNotebook* notebook,
 
 static void
 anjuta_tabber_notebook_switch_page (GtkNotebook* notebook,
-                                    GtkNotebookPage* page,
+                                    GtkWidget* page,
                                     guint page_num,
                                     AnjutaTabber* tabber)
 {
diff --git a/plugins/class-gen/window.c b/plugins/class-gen/window.c
index 402c7d8..6390681 100644
--- a/plugins/class-gen/window.c
+++ b/plugins/class-gen/window.c
@@ -295,7 +295,7 @@ cg_window_validate_go (CgWindow *window)
 
 static void
 cg_window_top_notebook_switch_page_cb (G_GNUC_UNUSED GtkNotebook *notebook,
-                                       G_GNUC_UNUSED GtkNotebookPage *page,
+                                       G_GNUC_UNUSED GtkWidget *page,
                                        guint page_num,
                                        gpointer user_data)
 {
diff --git a/plugins/document-manager/anjuta-docman.c b/plugins/document-manager/anjuta-docman.c
index 68961c4..5e1408d 100644
--- a/plugins/document-manager/anjuta-docman.c
+++ b/plugins/document-manager/anjuta-docman.c
@@ -92,7 +92,7 @@ static void anjuta_docman_update_page_label (AnjutaDocman *docman,
 											 IAnjutaDocument *doc);
 static void anjuta_docman_grab_text_focus (AnjutaDocman *docman);
 static void on_notebook_switch_page (GtkNotebook *notebook,
-									 GtkNotebookPage *page,
+									 GtkWidget *page,
 									 gint page_num, AnjutaDocman *docman);
 static AnjutaDocmanPage *
 anjuta_docman_get_page_for_document (AnjutaDocman *docman,
@@ -940,7 +940,7 @@ static gboolean g_tabbing = FALSE;
 
 static void
 on_notebook_switch_page (GtkNotebook *notebook,
-						 GtkNotebookPage *notebook_page,
+						 GtkWidget *notebook_page,
 						 gint page_num, AnjutaDocman *docman)
 {
 	if (!docman->priv->shutingdown)
diff --git a/plugins/message-view/anjuta-msgman.c b/plugins/message-view/anjuta-msgman.c
index 254c4a3..a0a487b 100644
--- a/plugins/message-view/anjuta-msgman.c
+++ b/plugins/message-view/anjuta-msgman.c
@@ -191,7 +191,7 @@ anjuta_msgman_page_from_widget (AnjutaMsgman * msgman, MessageView * mv)
 
 static void
 on_notebook_switch_page (GtkNotebook * notebook,
-			 GtkNotebookPage * npage,
+			 GtkWidget * npage,
 			 gint page_num, AnjutaMsgman * msgman)
 {
 	g_signal_emit_by_name(G_OBJECT(msgman), "view_changed");



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