diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2012-12-14 20:25:24 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2012-12-15 21:16:36 +0800 |
commit | 5e2efa2cd4ac7891fdf316dafd9ab249086e842a (patch) | |
tree | fe4b9c1ef8d783281789c4a378253aa41af35db3 /e-util/gal-view-new-dialog.h | |
parent | 63cff95414fc76e6d58a274ffebe019cd6feb0a5 (diff) | |
download | gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar.gz gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar.bz2 gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar.lz gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar.xz gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.tar.zst gsoc2013-evolution-5e2efa2cd4ac7891fdf316dafd9ab249086e842a.zip |
Finish adding symbols to libeutil API docs.
Diffstat (limited to 'e-util/gal-view-new-dialog.h')
-rw-r--r-- | e-util/gal-view-new-dialog.h | 56 |
1 files changed, 29 insertions, 27 deletions
diff --git a/e-util/gal-view-new-dialog.h b/e-util/gal-view-new-dialog.h index 503a594abb..0d0be9c412 100644 --- a/e-util/gal-view-new-dialog.h +++ b/e-util/gal-view-new-dialog.h @@ -24,33 +24,37 @@ #error "Only <e-util/e-util.h> should be included directly." #endif -#ifndef __GAL_VIEW_NEW_DIALOG_H__ -#define __GAL_VIEW_NEW_DIALOG_H__ +#ifndef GAL_VIEW_NEW_DIALOG_H +#define GAL_VIEW_NEW_DIALOG_H #include <gtk/gtk.h> #include <e-util/gal-view-collection.h> -G_BEGIN_DECLS +/* Standard GObject macros */ +#define GAL_TYPE_VIEW_NEW_DIALOG \ + (gal_view_new_dialog_get_type ()) +#define GAL_VIEW_NEW_DIALOG(obj) \ + (G_TYPE_CHECK_INSTANCE_CAST \ + ((obj), GAL_TYPE_VIEW_NEW_DIALOG, GalViewNewDialog)) +#define GAL_VIEW_NEW_DIALOG_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_CAST \ + ((cls), GAL_TYPE_VIEW_NEW_DIALOG, GalViewNewDialogClass)) +#define GAL_IS_VIEW_NEW_DIALOG(obj) \ + (G_TYPE_CHECK_INSTANCE_TYPE \ + ((obj), GAL_TYPE_VIEW_NEW_DIALOG)) +#define GAL_IS_VIEW_NEW_DIALOG_CLASS(cls) \ + (G_TYPE_CHECK_CLASS_TYPE \ + ((cls), GAL_TYPE_VIEW_NEW_DIALOG)) +#define GAL_VIEW_NEW_DIALOG_GET_CLASS(obj) \ + (G_TYPE_INSTANCE_GET_CLASS \ + ((obj), GAL_TYPE_VIEW_NEW_DIALOG, GalViewNewDialogClass)) -/* GalViewNewDialog - A dialog displaying information about a contact. - * - * The following arguments are available: - * - * name type read/write description - * -------------------------------------------------------------------------------- - */ - -#define GAL_VIEW_NEW_DIALOG_TYPE (gal_view_new_dialog_get_type ()) -#define GAL_VIEW_NEW_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GAL_VIEW_NEW_DIALOG_TYPE, GalViewNewDialog)) -#define GAL_VIEW_NEW_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), GAL_VIEW_NEW_DIALOG_TYPE, GalViewNewDialogClass)) -#define GAL_IS_VIEW_NEW_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GAL_VIEW_NEW_DIALOG_TYPE)) -#define GAL_IS_VIEW_NEW_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((obj), GAL_VIEW_NEW_DIALOG_TYPE)) +G_BEGIN_DECLS -typedef struct _GalViewNewDialog GalViewNewDialog; +typedef struct _GalViewNewDialog GalViewNewDialog; typedef struct _GalViewNewDialogClass GalViewNewDialogClass; -struct _GalViewNewDialog -{ +struct _GalViewNewDialog { GtkDialog parent; /* item specific fields */ @@ -65,17 +69,15 @@ struct _GalViewNewDialog GtkWidget *list; }; -struct _GalViewNewDialogClass -{ +struct _GalViewNewDialogClass { GtkDialogClass parent_class; }; -GtkWidget *gal_view_new_dialog_new (GalViewCollection *collection); -GType gal_view_new_dialog_get_type (void); - -GtkWidget *gal_view_new_dialog_construct (GalViewNewDialog *dialog, - GalViewCollection *collection); +GType gal_view_new_dialog_get_type (void) G_GNUC_CONST; +GtkWidget * gal_view_new_dialog_new (GalViewCollection *collection); +GtkWidget * gal_view_new_dialog_construct (GalViewNewDialog *dialog, + GalViewCollection *collection); G_END_DECLS -#endif /* __GAL_VIEW_NEW_DIALOG_H__ */ +#endif /* GAL_VIEW_NEW_DIALOG_H */ |