aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/menus/gal-view-factory.h
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-05-27 22:29:19 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-05-27 22:29:19 +0800
commit948235c3d1076dbe6ed2e57a24c16a083bbd9f01 (patch)
tree4133b1adfd94d8f889ca7ad4ad851346518f4171 /widgets/menus/gal-view-factory.h
parentcc3a98fc1ad5bb87aa7335f3de404ee7feee1541 (diff)
downloadgsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.gz
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.bz2
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.lz
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.xz
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.tar.zst
gsoc2013-evolution-948235c3d1076dbe6ed2e57a24c16a083bbd9f01.zip
Prefer GLib basic types over C types.
Diffstat (limited to 'widgets/menus/gal-view-factory.h')
-rw-r--r--widgets/menus/gal-view-factory.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/widgets/menus/gal-view-factory.h b/widgets/menus/gal-view-factory.h
index d2c4b4aa45..59f46a20e9 100644
--- a/widgets/menus/gal-view-factory.h
+++ b/widgets/menus/gal-view-factory.h
@@ -48,10 +48,10 @@ typedef struct {
/*
* Virtual methods
*/
- const char *(*get_title) (GalViewFactory *factory);
- const char *(*get_type_code) (GalViewFactory *factory);
+ const gchar *(*get_title) (GalViewFactory *factory);
+ const gchar *(*get_type_code) (GalViewFactory *factory);
GalView *(*new_view) (GalViewFactory *factory,
- const char *name);
+ const gchar *name);
} GalViewFactoryClass;
/* Standard functions */
@@ -59,17 +59,17 @@ GType gal_view_factory_get_type (void);
/* Query functions */
/* Returns already translated title. */
-const char *gal_view_factory_get_title (GalViewFactory *factory);
+const gchar *gal_view_factory_get_title (GalViewFactory *factory);
/* Returns the code for use in identifying this type of object in the
* view list. This identifier should identify this as being the
* unique factory for xml files which were written out with this
* identifier. Thus each factory should have a unique type code. */
-const char *gal_view_factory_get_type_code (GalViewFactory *factory);
+const gchar *gal_view_factory_get_type_code (GalViewFactory *factory);
/* Create a new view */
GalView *gal_view_factory_new_view (GalViewFactory *factory,
- const char *name);
+ const gchar *name);
#ifdef __cplusplus
}