[ekiga] Replace the deprecated GtkNotebookPage



commit f9d545048dd259b658d1dbc78cdd421832c0b989
Author: Eugen Dedu <Eugen Dedu pu-pm univ-fcomte fr>
Date:   Tue Aug 10 20:46:01 2010 +0200

    Replace the deprecated GtkNotebookPage
    
    Fixes bug 625882.

 lib/engine/gui/gtk-frontend/chat-window.cpp |    4 ++--
 src/gui/main_window.cpp                     |   12 ++++++------
 2 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/chat-window.cpp b/lib/engine/gui/gtk-frontend/chat-window.cpp
index ac54ff4..324776c 100644
--- a/lib/engine/gui/gtk-frontend/chat-window.cpp
+++ b/lib/engine/gui/gtk-frontend/chat-window.cpp
@@ -76,7 +76,7 @@ static void on_escaped (GtkWidget *widget,
                         gpointer data);
 
 static void on_switch_page (GtkNotebook* notebook,
-			    GtkNotebookPage* page,
+			    gpointer page_,
 			    guint num,
 			    gpointer data);
 
@@ -159,7 +159,7 @@ on_escaped (GtkWidget */*widget*/,
 
 static void
 on_switch_page (G_GNUC_UNUSED GtkNotebook* notebook,
-		G_GNUC_UNUSED GtkNotebookPage* page_,
+		G_GNUC_UNUSED gpointer page_,
 		guint num,
 		gpointer data)
 {
diff --git a/src/gui/main_window.cpp b/src/gui/main_window.cpp
index 5304805..910db86 100644
--- a/src/gui/main_window.cpp
+++ b/src/gui/main_window.cpp
@@ -391,9 +391,9 @@ static void video_settings_changed_cb (GtkAdjustment *,
  * BEHAVIOR     :  Update the config key accordingly.
  * PRE          :  A valid pointer to the main window GmObject.
  */
-static void panel_section_changed_cb (GtkNotebook *, 
-                                      GtkNotebookPage *,
-                                      gint, 
+static void panel_section_changed_cb (GtkNotebook *,
+                                      gpointer,
+                                      gint,
                                       gpointer);
 
 
@@ -2041,11 +2041,11 @@ video_settings_changed_cb (GtkAdjustment * /*adjustment*/,
 }
 
 
-static void 
+static void
 panel_section_changed_cb (G_GNUC_UNUSED GtkNotebook *notebook,
-                          G_GNUC_UNUSED GtkNotebookPage *page,
+                          G_GNUC_UNUSED gpointer page,
                           G_GNUC_UNUSED gint page_num,
-                          gpointer data) 
+                          gpointer data)
 {
   EkigaMainWindow *mw = EKIGA_MAIN_WINDOW (data);
   gint current_page = 0;



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