summaryrefslogtreecommitdiff
path: root/gtk/gtkappchooserdialog.h
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2010-11-24 18:32:05 -0500
committerMatthias Clasen <mclasen@redhat.com>2010-11-24 18:32:05 -0500
commita498d9a9bac007fb2b9b7ab3a960b853818867c2 (patch)
tree6514981cf4725c213b9fb857dd754c921c29dbee /gtk/gtkappchooserdialog.h
parentf64448473e8d718f35cc1cca04dee90499a2faee (diff)
downloadgtk+-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/gtkappchooserdialog.h')
-rw-r--r--gtk/gtkappchooserdialog.h34
1 files changed, 14 insertions, 20 deletions
diff --git a/gtk/gtkappchooserdialog.h b/gtk/gtkappchooserdialog.h
index b29b0d9955..bcb3dd97d4 100644
--- a/gtk/gtkappchooserdialog.h
+++ b/gtk/gtkappchooserdialog.h
@@ -34,18 +34,12 @@
#include <gtk/gtkdialog.h>
#include <gio/gio.h>
-#define GTK_TYPE_APP_CHOOSER_DIALOG\
- (gtk_app_chooser_dialog_get_type ())
-#define GTK_APP_CHOOSER_DIALOG(obj)\
- (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APP_CHOOSER_DIALOG, GtkAppChooserDialog))
-#define GTK_APP_CHOOSER_DIALOG_CLASS(klass)\
- (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_APP_CHOOSER_DIALOG, GtkAppChooserDialogClass))
-#define GTK_IS_APP_CHOOSER_DIALOG(obj)\
- (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APP_CHOOSER_DIALOG))
-#define GTK_IS_APP_CHOOSER_DIALOG_CLASS(klass)\
- (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_APP_CHOOSER_DIALOG))
-#define GTK_APP_CHOOSER_DIALOG_GET_CLASS(obj)\
- (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_APP_CHOOSER_DIALOG, GtkAppChooserDialogClass))
+#define GTK_TYPE_APP_CHOOSER_DIALOG (gtk_app_chooser_dialog_get_type ())
+#define GTK_APP_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_APP_CHOOSER_DIALOG, GtkAppChooserDialog))
+#define GTK_APP_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GTK_TYPE_APP_CHOOSER_DIALOG, GtkAppChooserDialogClass))
+#define GTK_IS_APP_CHOOSER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_APP_CHOOSER_DIALOG))
+#define GTK_IS_APP_CHOOSER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), GTK_TYPE_APP_CHOOSER_DIALOG))
+#define GTK_APP_CHOOSER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), GTK_TYPE_APP_CHOOSER_DIALOG, GtkAppChooserDialogClass))
typedef struct _GtkAppChooserDialog GtkAppChooserDialog;
typedef struct _GtkAppChooserDialogClass GtkAppChooserDialogClass;
@@ -65,15 +59,15 @@ struct _GtkAppChooserDialogClass {
gpointer padding[16];
};
-GType gtk_app_chooser_dialog_get_type (void) G_GNUC_CONST;
+GType gtk_app_chooser_dialog_get_type (void) G_GNUC_CONST;
-GtkWidget * gtk_app_chooser_dialog_new (GtkWindow *parent,
- GtkDialogFlags flags,
- GFile *file);
-GtkWidget * gtk_app_chooser_dialog_new_for_content_type (GtkWindow *parent,
- GtkDialogFlags flags,
- const gchar *content_type);
+GtkWidget * gtk_app_chooser_dialog_new (GtkWindow *parent,
+ GtkDialogFlags flags,
+ GFile *file);
+GtkWidget * gtk_app_chooser_dialog_new_for_content_type (GtkWindow *parent,
+ GtkDialogFlags flags,
+ const gchar *content_type);
-GtkWidget * gtk_app_chooser_dialog_get_widget (GtkAppChooserDialog *self);
+GtkWidget * gtk_app_chooser_dialog_get_widget (GtkAppChooserDialog *self);
#endif /* __GTK_APP_CHOOSER_DIALOG_H__ */