diff options
author | Matthias Clasen <mclasen@redhat.com> | 2010-11-24 18:32:05 -0500 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2010-11-24 18:32:05 -0500 |
commit | a498d9a9bac007fb2b9b7ab3a960b853818867c2 (patch) | |
tree | 6514981cf4725c213b9fb857dd754c921c29dbee /gtk/gtkappchooser.h | |
parent | f64448473e8d718f35cc1cca04dee90499a2faee (diff) | |
download | gtk+-a498d9a9bac007fb2b9b7ab3a960b853818867c2.tar.gz |
Coding style fixups
This commit adjusts the app chooser code to GTK+ coding style:
- line up prototypes
- remove some excess {}
- remove tabs and trailing whitespace
- add docs
Diffstat (limited to 'gtk/gtkappchooser.h')
-rw-r--r-- | gtk/gtkappchooser.h | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/gtk/gtkappchooser.h b/gtk/gtkappchooser.h index e1665291b9..35de8770c2 100644 --- a/gtk/gtkappchooser.h +++ b/gtk/gtkappchooser.h @@ -33,20 +33,17 @@ G_BEGIN_DECLS -#define GTK_TYPE_APP_CHOOSER\ - (gtk_app_chooser_get_type ()) -#define GTK_APP_CHOOSER(obj)\ - (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APP_CHOOSER, GtkAppChooser)) -#define GTK_IS_APP_CHOOSER(obj)\ - (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APP_CHOOSER)) +#define GTK_TYPE_APP_CHOOSER (gtk_app_chooser_get_type ()) +#define GTK_APP_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APP_CHOOSER, GtkAppChooser)) +#define GTK_IS_APP_CHOOSER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APP_CHOOSER)) typedef struct _GtkAppChooser GtkAppChooser; -GType gtk_app_chooser_get_type () G_GNUC_CONST; +GType gtk_app_chooser_get_type (void) G_GNUC_CONST; -GAppInfo * gtk_app_chooser_get_app_info (GtkAppChooser *self); -gchar * gtk_app_chooser_get_content_type (GtkAppChooser *self); -void gtk_app_chooser_refresh (GtkAppChooser *self); +GAppInfo * gtk_app_chooser_get_app_info (GtkAppChooser *self); +gchar * gtk_app_chooser_get_content_type (GtkAppChooser *self); +void gtk_app_chooser_refresh (GtkAppChooser *self); G_END_DECLS |