[evolution] Bug 624534 - Adapt to GTK+ GtkNotebookPage changes



commit 13cf1d104bbacffaf09393678c12a7efadd53139
Author: Kjartan Maraas <kmaraas gnome org>
Date:   Sun Jul 25 21:39:18 2010 -0400

    Bug 624534 - Adapt to GTK+ GtkNotebookPage changes

 capplet/settings/mail-view.c            |    2 +-
 mail/e-mail-notebook-view.c             |    2 +-
 plugins/groupwise-features/proxy.c      |    4 ++--
 plugins/plugin-manager/plugin-manager.c |    2 +-
 widgets/misc/e-send-options.c           |    2 +-
 5 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/capplet/settings/mail-view.c b/capplet/settings/mail-view.c
index a344d59..54a5647 100644
--- a/capplet/settings/mail-view.c
+++ b/capplet/settings/mail-view.c
@@ -138,7 +138,7 @@ mail_view_class_init (MailViewClass *klass)
 };
 
 static void
-mv_switch (GtkNotebook     *notebook,GtkNotebookPage *page, guint page_num, gpointer user_data)
+mv_switch (GtkNotebook *notebook, GtkWidget *page, guint page_num, gpointer user_data)
 {
 	MailView *shell = (MailView *)notebook;
 	MailViewPrivate *priv = shell->priv;
diff --git a/mail/e-mail-notebook-view.c b/mail/e-mail-notebook-view.c
index 5add673..5403032 100644
--- a/mail/e-mail-notebook-view.c
+++ b/mail/e-mail-notebook-view.c
@@ -122,7 +122,7 @@ emnv_get_page_num (EMailNotebookView *view,
 }
 
 static void
-mnv_page_changed (GtkNotebook *book, GtkNotebookPage *page,
+mnv_page_changed (GtkNotebook *book, GtkWidget *page,
 		  guint page_num, EMailNotebookView *view)
 {
 	EMailView *mview = (EMailView *)gtk_notebook_get_nth_page (book, page_num);
diff --git a/plugins/groupwise-features/proxy.c b/plugins/groupwise-features/proxy.c
index fb0e786..d8471ab 100644
--- a/plugins/groupwise-features/proxy.c
+++ b/plugins/groupwise-features/proxy.c
@@ -59,7 +59,7 @@
 
 static GObjectClass *parent_class = NULL;
 
-static gboolean proxy_page_changed_cb (GtkNotebook *notebook, GtkNotebookPage *page, gint num, EAccount *account);
+static gboolean proxy_page_changed_cb (GtkNotebook *notebook, GtkWidget *page, gint num, EAccount *account);
 
 struct _proxyDialogPrivate {
 	/* UI data for the Add/Edit Proxy dialog*/
@@ -721,7 +721,7 @@ org_gnome_proxy (EPlugin *epl, EConfigHookItemFactoryData *data)
 }
 
 static gboolean
-proxy_page_changed_cb (GtkNotebook *notebook, GtkNotebookPage *page, gint num, EAccount *account)
+proxy_page_changed_cb (GtkNotebook *notebook, GtkWidget *page, gint num, EAccount *account)
 {
 	proxyDialog *prd;
 	proxyDialogPrivate *priv;
diff --git a/plugins/plugin-manager/plugin-manager.c b/plugins/plugin-manager/plugin-manager.c
index 85a8bb3..996f078 100644
--- a/plugins/plugin-manager/plugin-manager.c
+++ b/plugins/plugin-manager/plugin-manager.c
@@ -91,7 +91,7 @@ eppm_set_label (GtkLabel *l, const gchar *v)
 
 static void
 eppm_switch_page_cb (GtkNotebook *notebook,
-                     GtkNotebookPage *page,
+                     GtkWidget *page,
                      guint page_num)
 {
 	last_selected_page = page_num;
diff --git a/widgets/misc/e-send-options.c b/widgets/misc/e-send-options.c
index c93dcef..b858374 100644
--- a/widgets/misc/e-send-options.c
+++ b/widgets/misc/e-send-options.c
@@ -342,7 +342,7 @@ delay_until_date_changed_cb (GtkWidget *dedit, gpointer data)
 
 }
 static void
-page_changed_cb (GtkNotebook *notebook, GtkNotebookPage *page, gint num, gpointer data)
+page_changed_cb (GtkNotebook *notebook, GtkWidget *page, gint num, gpointer data)
 {
 	ESendOptionsDialog *sod = data;
 	ESendOptionsDialogPrivate *priv = sod->priv;



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