[gedit] Bump gtk+ version and use GtkWidget instead of deprecated GtkNotebookPage.
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gedit] Bump gtk+ version and use GtkWidget instead of deprecated GtkNotebookPage.
- Date: Tue, 13 Jul 2010 15:35:19 +0000 (UTC)
commit 83fc3428fb3edc825c25788afbc995d57edac8ad
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Tue Jul 13 17:33:28 2010 +0200
Bump gtk+ version and use GtkWidget instead of deprecated GtkNotebookPage.
configure.ac | 2 +-
gedit/gedit-multi-notebook.c | 2 +-
gedit/gedit-notebook.c | 8 ++++----
gedit/gedit-panel.c | 8 ++++----
4 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 955b919..470adad 100644
--- a/configure.ac
+++ b/configure.ac
@@ -271,7 +271,7 @@ PKG_CHECK_MODULES(GEDIT, [
glib-2.0 >= 2.25.6
gthread-2.0 >= 2.13.0
gio-2.0 >= 2.25.11
- gtk+-3.0 >= 2.90.0
+ gtk+-3.0 >= 2.90.6
gtksourceview-3.0 >= 2.11.2
libpeas-1.0 >= 0.5.2
libpeasui-1.0 >= 0.5.2
diff --git a/gedit/gedit-multi-notebook.c b/gedit/gedit-multi-notebook.c
index 0b6fde8..9dff862 100644
--- a/gedit/gedit-multi-notebook.c
+++ b/gedit/gedit-multi-notebook.c
@@ -314,7 +314,7 @@ notebook_page_added (GtkNotebook *notebook,
static void
notebook_switch_page (GtkNotebook *book,
- GtkNotebookPage *pg,
+ GtkWidget *pg,
gint page_num,
GeditMultiNotebook *mnb)
{
diff --git a/gedit/gedit-notebook.c b/gedit/gedit-notebook.c
index f334b62..fb6221f 100644
--- a/gedit/gedit-notebook.c
+++ b/gedit/gedit-notebook.c
@@ -748,10 +748,10 @@ gedit_notebook_new (void)
}
static void
-gedit_notebook_switch_page_cb (GtkNotebook *notebook,
- GtkNotebookPage *page,
- guint page_num,
- gpointer data)
+gedit_notebook_switch_page_cb (GtkNotebook *notebook,
+ GtkWidget *page,
+ guint page_num,
+ gpointer data)
{
GeditNotebook *nb = GEDIT_NOTEBOOK (notebook);
GtkWidget *child;
diff --git a/gedit/gedit-panel.c b/gedit/gedit-panel.c
index ddc9b5f..4a216cd 100644
--- a/gedit/gedit-panel.c
+++ b/gedit/gedit-panel.c
@@ -363,10 +363,10 @@ sync_title (GeditPanel *panel,
}
static void
-notebook_page_changed (GtkNotebook *notebook,
- GtkNotebookPage *page,
- guint page_num,
- GeditPanel *panel)
+notebook_page_changed (GtkNotebook *notebook,
+ GtkWidget *page,
+ guint page_num,
+ GeditPanel *panel)
{
GtkWidget *item;
GeditPanelItem *data;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]