diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2009-05-27 23:13:25 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2009-05-29 00:13:23 +0800 |
commit | fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056 (patch) | |
tree | ae78be371695c3dc18847b87d3f014f985aa3a40 /shell/e-component-registry.h | |
parent | 6f5464f34ceec9e5701e3e3e651a40f9e6b3a072 (diff) | |
download | gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.gz gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.bz2 gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.lz gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.xz gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.tar.zst gsoc2013-evolution-fad4af8a3d4c6f50f7bcceca8d545eb17d6fd056.zip |
Prefer GLib basic types over C types.
Diffstat (limited to 'shell/e-component-registry.h')
-rw-r--r-- | shell/e-component-registry.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/shell/e-component-registry.h b/shell/e-component-registry.h index 927fcf0120..c8c292a935 100644 --- a/shell/e-component-registry.h +++ b/shell/e-component-registry.h @@ -63,20 +63,20 @@ enum _EComponentRegistryField { }; struct _EComponentInfo { - char *id; + gchar *id; - char *alias; + gchar *alias; /* NULL if not activated. */ GNOME_Evolution_Component iface; - char *button_label; - char *button_tooltips; - char *menu_label; - char *menu_accelerator; - char *icon_name; + gchar *button_label; + gchar *button_tooltips; + gchar *menu_label; + gchar *menu_accelerator; + gchar *icon_name; - int sort_order; + gint sort_order; /* List of URI schemas that this component supports. */ GSList *uri_schemas; /* <char *> */ @@ -90,10 +90,10 @@ EComponentRegistry *e_component_registry_new (void); GSList *e_component_registry_peek_list (EComponentRegistry *registry); EComponentInfo *e_component_registry_peek_info (EComponentRegistry *registry, enum _EComponentRegistryField type, - const char *key); + const gchar *key); GNOME_Evolution_Component e_component_registry_activate (EComponentRegistry *registry, - const char *id, + const gchar *id, CORBA_Environment *ev); |