aboutsummaryrefslogtreecommitdiffstats
path: root/shell/e-component-registry.c
diff options
context:
space:
mode:
authorRodney Dawes <dobey@ximian.com>2003-12-02 06:14:43 +0800
committerRodney Dawes <dobey@src.gnome.org>2003-12-02 06:14:43 +0800
commit7af66de0238f45979c19eaa3cc9a2e2ba1d9dea0 (patch)
tree7bd84d8e6b28d1d4e0a4d4d7959aa2bd2dbdecae /shell/e-component-registry.c
parent9b6e4f3e85115055b3df938cb0bdf7876575c952 (diff)
downloadgsoc2013-evolution-7af66de0238f45979c19eaa3cc9a2e2ba1d9dea0.tar.gz
gsoc2013-evolution-7af66de0238f45979c19eaa3cc9a2e2ba1d9dea0.tar.zst
gsoc2013-evolution-7af66de0238f45979c19eaa3cc9a2e2ba1d9dea0.zip
Use BASE_VERSION for repo_ids and OAFIIDs Update killev to kill the
2003-12-01 Rodney Dawes <dobey@ximian.com> * Use BASE_VERSION for repo_ids and OAFIIDs * Update killev to kill the correct versions of gnome-spell and the GtkHTML Editor svn path=/trunk/; revision=23543
Diffstat (limited to 'shell/e-component-registry.c')
-rw-r--r--shell/e-component-registry.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/e-component-registry.c b/shell/e-component-registry.c
index 71170f8e82..b1a6560078 100644
--- a/shell/e-component-registry.c
+++ b/shell/e-component-registry.c
@@ -130,11 +130,14 @@ query_components (EComponentRegistry *registry)
Bonobo_ServerInfoList *info_list;
CORBA_Environment ev;
GSList *language_list;
+ char *query;
int i;
CORBA_exception_init (&ev);
+ query = g_strdup_printf ("repo_ids.has ('IDL:GNOME/Evolution/Component:%s')", BASE_VERSION);
+ info_list = bonobo_activation_query (query, NULL, &ev);
+ g_free (query);
- info_list = bonobo_activation_query ("repo_ids.has ('IDL:GNOME/Evolution/Component:1.0')", NULL, &ev);
if (BONOBO_EX (&ev)) {
char *ex_text = bonobo_exception_get_text (&ev);
g_warning ("Cannot query for components: %s\n", ex_text);