[anjuta] devhelp: Use Devhelp-2 API (bgo#625841)
- From: Johannes Schmid <jhs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta] devhelp: Use Devhelp-2 API (bgo#625841)
- Date: Tue, 3 Aug 2010 16:26:33 +0000 (UTC)
commit fbc5e7733696c613fdf1d5a16d835af84668c3cd
Author: Frédéric Péters <fpeters 0d be>
Date: Mon Aug 2 22:23:42 2010 +0200
devhelp: Use Devhelp-2 API (bgo#625841)
NEWS | 19 +++++++++++++++++++
configure.in | 2 +-
plugins/devhelp/plugin.c | 10 ++++------
3 files changed, 24 insertions(+), 7 deletions(-)
---
diff --git a/NEWS b/NEWS
index 3d1c6f7..b5c5dd1 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,22 @@
+Anjuta 2.31.6 "Thank you, The Hague" (2 Aug 2010) -- Johannes Schmid
+
+Updated:
+- Debugger is now much more polished (Sebastien)
+- Project wizard shows better package chooser
+
+Bugs fixed:
+build: bgo #625604 - anjuta crashes on starting the debugger
+gdb: bgo#625605 - register function is not found in a pretty printer
+symbol-db: bgo #625350 - critical warning on project unload
+debugger: bgo#558954 - Documentation for debug interfaces is incomplete
+libanjuta: bgo#624660 introspection build order problem
+debugger: bgo #515395 - Mouse cursor is a clock in debug mode
+debugger: bgo #598187 - Feature request: Make 'Locals' columns configurable
+project-wizard: bgo #624091 - Use AnjutaPkgConfigChooser
+debugger: bgo #516112 - Debugger create too much variable objects
+
+Thanks to
+
Anjuta 2.31.5 "Too hot to code" (12 June 2010) -- Johannes Schmid
New:
diff --git a/configure.in b/configure.in
index 6bf3183..5f9cbd0 100644
--- a/configure.in
+++ b/configure.in
@@ -201,7 +201,7 @@ if test "$user_disabled_devhelp" = 1; then
else
AC_MSG_RESULT(no)
PKG_CHECK_MODULES(PLUGIN_DEVHELP,
- [libdevhelp-1.0 >= $LIBDEVHELP_REQUIRED webkit-1.0],
+ [libdevhelp-2.0 >= $LIBDEVHELP_REQUIRED webkit-1.0],
[
devhelp_enabled=yes
], [
diff --git a/plugins/devhelp/plugin.c b/plugins/devhelp/plugin.c
index fb69583..cddaa18 100644
--- a/plugins/devhelp/plugin.c
+++ b/plugins/devhelp/plugin.c
@@ -305,8 +305,7 @@ devhelp_activate (AnjutaPlugin *plugin)
#ifndef DISABLE_EMBEDDED_DEVHELP
static gboolean init = FALSE;
- GNode *books;
- GList *keywords;
+ DhBookManager *book_manager;
GtkWidget *label;
GtkWidget *books_sw;
@@ -410,8 +409,7 @@ devhelp_activate (AnjutaPlugin *plugin)
/*
* Notebook
*/
- books = dh_base_get_book_tree (devhelp->base);
- keywords = dh_base_get_keywords (devhelp->base);
+ book_manager = dh_base_get_book_manager (devhelp->base);
books_sw = gtk_scrolled_window_new (NULL, NULL);
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (books_sw),
@@ -421,9 +419,9 @@ devhelp_activate (AnjutaPlugin *plugin)
GTK_SHADOW_NONE);
gtk_container_set_border_width (GTK_CONTAINER (books_sw), 2);
- devhelp->book_tree = dh_book_tree_new (books);
+ devhelp->book_tree = dh_book_tree_new (book_manager);
- devhelp->search = dh_search_new (keywords);
+ devhelp->search = dh_search_new (book_manager);
gtk_widget_set_size_request (devhelp->search, 0, 0);
g_signal_connect (devhelp->book_tree,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]