anjuta r4771 - in trunk: . plugins/document-manager plugins/message-view
- From: aklapper svn gnome org
- To: svn-commits-list gnome org
- Subject: anjuta r4771 - in trunk: . plugins/document-manager plugins/message-view
- Date: Fri, 20 Feb 2009 20:08:28 +0000 (UTC)
Author: aklapper
Date: Fri Feb 20 20:08:28 2009
New Revision: 4771
URL: http://svn.gnome.org/viewvc/anjuta?rev=4771&view=rev
Log:
2009-02-20 Andre Klapper <a9016009 gmx de>
* plugins/document-manager/plugin.c:
* plugins/message-view/anjuta-msgman.c:
Replace deprecated gtk_notebook_set_page by
gtk_notebook_set_current_page.
Modified:
trunk/ChangeLog
trunk/plugins/document-manager/plugin.c
trunk/plugins/message-view/anjuta-msgman.c
Modified: trunk/plugins/document-manager/plugin.c
==============================================================================
--- trunk/plugins/document-manager/plugin.c (original)
+++ trunk/plugins/document-manager/plugin.c Fri Feb 20 20:08:28 2009
@@ -1278,7 +1278,7 @@
else
cur_page = cur_page ? cur_page - 1 : pages_nb -1;
- gtk_notebook_set_page (notebook, cur_page);
+ gtk_notebook_set_current_page (notebook, cur_page);
break;
}
@@ -1291,7 +1291,7 @@
if (!notebook->children)
return FALSE;
- gtk_notebook_set_page(notebook, page_req);
+ gtk_notebook_set_current_page(notebook, page_req);
}
else
return FALSE;
Modified: trunk/plugins/message-view/anjuta-msgman.c
==============================================================================
--- trunk/plugins/message-view/anjuta-msgman.c (original)
+++ trunk/plugins/message-view/anjuta-msgman.c Fri Feb 20 20:08:28 2009
@@ -479,7 +479,7 @@
page_num =
gtk_notebook_page_num (GTK_NOTEBOOK (msgman),
GTK_WIDGET (mv));
- gtk_notebook_set_page (GTK_NOTEBOOK (msgman), page_num);
+ gtk_notebook_set_current_page (GTK_NOTEBOOK (msgman), page_num);
}
g_signal_emit_by_name(G_OBJECT(msgman), "view_changed");
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]