Branch: refs/heads/master Author: Colomban Wendling ban@herbesfolles.org Committer: Colomban Wendling ban@herbesfolles.org Date: Thu, 13 Sep 2012 14:34:18 Commit: 2d878c8a5d307b0c90f6b3d43b6c6fd236812aba https://github.com/geany/geany/commit/2d878c8a5d307b0c90f6b3d43b6c6fd236812a...
Log Message: ----------- Don't use deprecated GtkNotebookPage
Modified Paths: -------------- src/callbacks.c src/callbacks.h src/notebook.c
Modified: src/callbacks.c 6 files changed, 3 insertions(+), 3 deletions(-) =================================================================== @@ -602,7 +602,7 @@ static gboolean delayed_check_disk_status(gpointer data)
/* Changes window-title after switching tabs and lots of other things. * note: using 'after' makes Scintilla redraw before the UI, appearing more responsive */ -G_MODULE_EXPORT void on_notebook1_switch_page_after(GtkNotebook *notebook, GtkNotebookPage *page, +G_MODULE_EXPORT void on_notebook1_switch_page_after(GtkNotebook *notebook, gpointer page, guint page_num, gpointer user_data) { GeanyDocument *doc; @@ -641,7 +641,7 @@ G_MODULE_EXPORT void on_notebook1_switch_page_after(GtkNotebook *notebook, GtkNo }
-G_MODULE_EXPORT void on_tv_notebook_switch_page(GtkNotebook *notebook, GtkNotebookPage *page, +G_MODULE_EXPORT void on_tv_notebook_switch_page(GtkNotebook *notebook, gpointer page, guint page_num, gpointer user_data) { /* suppress selection changed signal when switching to the open files list */ @@ -649,7 +649,7 @@ G_MODULE_EXPORT void on_tv_notebook_switch_page(GtkNotebook *notebook, GtkNotebo }
-G_MODULE_EXPORT void on_tv_notebook_switch_page_after(GtkNotebook *notebook, GtkNotebookPage *page, +G_MODULE_EXPORT void on_tv_notebook_switch_page_after(GtkNotebook *notebook, gpointer page, guint page_num, gpointer user_data) { ignore_callback = FALSE;
Modified: src/callbacks.h 6 files changed, 3 insertions(+), 3 deletions(-) =================================================================== @@ -327,7 +327,7 @@
G_MODULE_EXPORT void on_tv_notebook_switch_page (GtkNotebook *notebook, - GtkNotebookPage *page, + gpointer page, guint page_num, gpointer user_data);
@@ -371,7 +371,7 @@
G_MODULE_EXPORT void on_notebook1_switch_page_after (GtkNotebook *notebook, - GtkNotebookPage *page, + gpointer page, guint page_num, gpointer user_data);
@@ -508,7 +508,7 @@
G_MODULE_EXPORT void on_tv_notebook_switch_page_after (GtkNotebook *notebook, - GtkNotebookPage *page, + gpointer page, guint page_num, gpointer user_data);
Modified: src/notebook.c 2 files changed, 1 insertions(+), 1 deletions(-) =================================================================== @@ -92,7 +92,7 @@ static void update_mru_docs_head(GeanyDocument *doc)
/* before the tab changes, add the current document to the MRU list */ static void on_notebook_switch_page(GtkNotebook *notebook, - GtkNotebookPage *page, guint page_num, gpointer user_data) + gpointer page, guint page_num, gpointer user_data) { GeanyDocument *new;
@@ Diff output truncated at 100000 characters. @@
-------------- This E-Mail was brought to you by github_commit_mail.py (Source: TBD).