diff options
author | Michael Natterer <mitch@imendio.com> | 2008-09-02 19:05:58 +0000 |
---|---|---|
committer | Michael Natterer <mitch@src.gnome.org> | 2008-09-02 19:05:58 +0000 |
commit | f2a2d6c9ac2d98b565005d446fde01aac47f7d88 (patch) | |
tree | cab413fc45895fea6975eca1523e758b18d2d2d3 /gio/gdesktopappinfo.h | |
parent | 920f3bffb31a60bcb5379c40efa3f648de79e15d (diff) | |
download | glib-f2a2d6c9ac2d98b565005d446fde01aac47f7d88.tar.gz |
big header formatting cleanup: indentation, vtable formatting, consistent
2008-09-02 Michael Natterer <mitch@imendio.com>
* *.h: big header formatting cleanup: indentation, vtable
formatting, consistent spacing in (* vfunc), trailing whitespace
removal. Formatting should be pretty consistent in all GIO headers
now.
svn path=/trunk/; revision=7433
Diffstat (limited to 'gio/gdesktopappinfo.h')
-rw-r--r-- | gio/gdesktopappinfo.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/gio/gdesktopappinfo.h b/gio/gdesktopappinfo.h index 10ac36a36..6e51545f2 100644 --- a/gio/gdesktopappinfo.h +++ b/gio/gdesktopappinfo.h @@ -1,5 +1,5 @@ /* GIO - GLib Input, Output and Streaming Library - * + * * Copyright (C) 2006-2007 Red Hat, Inc. * * This library is free software; you can redistribute it and/or @@ -43,15 +43,15 @@ struct _GDesktopAppInfoClass }; -GType g_desktop_app_info_get_type (void) G_GNUC_CONST; - +GType g_desktop_app_info_get_type (void) G_GNUC_CONST; + GDesktopAppInfo *g_desktop_app_info_new_from_filename (const char *filename); GDesktopAppInfo *g_desktop_app_info_new_from_keyfile (GKeyFile *key_file); GDesktopAppInfo *g_desktop_app_info_new (const char *desktop_id); gboolean g_desktop_app_info_get_is_hidden (GDesktopAppInfo *info); -void g_desktop_app_info_set_desktop_env (const char *desktop_env); +void g_desktop_app_info_set_desktop_env (const char *desktop_env); #define G_TYPE_DESKTOP_APP_INFO_LOOKUP (g_desktop_app_info_lookup_get_type ()) @@ -70,7 +70,7 @@ void g_desktop_app_info_set_desktop_env (const char *desktop_env); /** * GDesktopAppInfoLookup: * - * Interface that is used by backends to associate default + * Interface that is used by backends to associate default * handlers with URI schemes. */ typedef struct _GDesktopAppInfoLookup GDesktopAppInfoLookup; @@ -80,15 +80,15 @@ struct _GDesktopAppInfoLookupIface { GTypeInterface g_iface; - GAppInfo * (*get_default_for_uri_scheme) (GDesktopAppInfoLookup *lookup, - const char *uri_scheme); + GAppInfo * (* get_default_for_uri_scheme) (GDesktopAppInfoLookup *lookup, + const char *uri_scheme); }; -GType g_desktop_app_info_lookup_get_type (void) G_GNUC_CONST; +GType g_desktop_app_info_lookup_get_type (void) G_GNUC_CONST; + GAppInfo *g_desktop_app_info_lookup_get_default_for_uri_scheme (GDesktopAppInfoLookup *lookup, - const char *uri_scheme); + const char *uri_scheme); G_END_DECLS - #endif /* __G_DESKTOP_APP_INFO_H__ */ |