Commit 0296f0d7 authored by Andre Klapper's avatar Andre Klapper 💬 Committed by Andre Klapper

Replace deprecated gtk_notebook_set_page by gtk_notebook_set_current_page.

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.


svn path=/trunk/; revision=4771
parent 8d576702
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.
2009-02-20 Andre Klapper <a9016009@gmx.de>
* libanjuta/anjuta-plugin-manager.c:
......@@ -1278,7 +1278,7 @@ on_window_key_press_event (AnjutaShell *shell,
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 @@ on_window_key_press_event (AnjutaShell *shell,
if (!notebook->children)
return FALSE;
gtk_notebook_set_page(notebook, page_req);
gtk_notebook_set_current_page(notebook, page_req);
}
else
return FALSE;
......
......@@ -479,7 +479,7 @@ anjuta_msgman_set_current_view (AnjutaMsgman * msgman, MessageView * mv)
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");
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment