[anjuta-extras] Revert "scintilla: uses db-ready signal to populate typedefs lists."
- From: Massimo Cora' <mcora src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [anjuta-extras] Revert "scintilla: uses db-ready signal to populate typedefs lists."
- Date: Wed, 30 Jun 2010 20:18:29 +0000 (UTC)
commit efad15395b303f0025a367d9c7422c9b158a57c7
Author: Massimo Corà <mcora src gnome org>
Date: Tue Jun 29 23:03:38 2010 +0200
Revert "scintilla: uses db-ready signal to populate typedefs lists."
This reverts commit 507b069c4623cb21fa7f423905ef890bf32dcc6d.
plugins/scintilla/plugin.c | 18 ++++++------------
1 files changed, 6 insertions(+), 12 deletions(-)
---
diff --git a/plugins/scintilla/plugin.c b/plugins/scintilla/plugin.c
index bd6937a..fa8a181 100644
--- a/plugins/scintilla/plugin.c
+++ b/plugins/scintilla/plugin.c
@@ -127,14 +127,6 @@ on_system_symbol_scanned (IAnjutaSymbolManager *manager, guint process, AnjutaSh
ianjuta_symbol_query_search_all (query_system, NULL);
}
-static void
-on_db_ready (IAnjutaSymbolManager *manager, gpointer user_data)
-{
- /* Initialize type list */
- on_project_symbol_scanned (manager, 0, NULL);
- on_system_symbol_scanned (manager, 0, NULL);
-}
-
static void
on_style_button_clicked(GtkWidget* button, AnjutaPreferences* prefs)
{
@@ -196,11 +188,13 @@ activate_plugin (AnjutaPlugin *plugin)
/* Get notified when scan end, to update type list */
- g_signal_connect (G_OBJECT (manager), "prj-scan-end", G_CALLBACK (on_project_symbol_scanned), NULL);
- g_signal_connect (G_OBJECT (manager), "sys-scan-end", G_CALLBACK (on_system_symbol_scanned), NULL);
- g_signal_connect (G_OBJECT (manager), "db-ready", G_CALLBACK (on_db_ready), NULL);
-
+ g_signal_connect (G_OBJECT (manager), "prj_scan_end", G_CALLBACK (on_project_symbol_scanned), NULL);
+ g_signal_connect (G_OBJECT (manager), "sys_scan_end", G_CALLBACK (on_system_symbol_scanned), NULL);
+ /* Initialize type list */
+ on_project_symbol_scanned (manager, 0, NULL);
+ on_system_symbol_scanned (manager, 0, NULL);
+
return TRUE;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]