diff options
author | rbuj <[email protected]> | 2020-07-18 12:08:59 +0200 |
---|---|---|
committer | raveit65 <[email protected]> | 2020-07-26 17:43:49 +0200 |
commit | 4b463e46b85ac0d8235c0edd201f1597e9398500 (patch) | |
tree | 5fbf6524c58bb37ffd00eb026ae7280e8b11abe8 /mateweather/mateweather-dialog.h | |
parent | 1c0b07583766c974631f1e6e3630e0d15e782a98 (diff) | |
download | mate-applets-4b463e46b85ac0d8235c0edd201f1597e9398500.tar.bz2 mate-applets-4b463e46b85ac0d8235c0edd201f1597e9398500.tar.xz |
mateweather: Add mateweather-dialog.ui
Diffstat (limited to 'mateweather/mateweather-dialog.h')
-rw-r--r-- | mateweather/mateweather-dialog.h | 34 |
1 files changed, 6 insertions, 28 deletions
diff --git a/mateweather/mateweather-dialog.h b/mateweather/mateweather-dialog.h index 69aa734d..0eaf0b50 100644 --- a/mateweather/mateweather-dialog.h +++ b/mateweather/mateweather-dialog.h @@ -21,34 +21,12 @@ G_BEGIN_DECLS -#define MATEWEATHER_TYPE_DIALOG (mateweather_dialog_get_type ()) -#define MATEWEATHER_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MATEWEATHER_TYPE_DIALOG, MateWeatherDialog)) -#define MATEWEATHER_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MATEWEATHER_TYPE_DIALOG, MateWeatherDialogClass)) -#define MATEWEATHER_IS_DIALOG(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MATEWEATHER_TYPE_DIALOG)) -#define MATEWEATHER_IS_DIALOG_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MATEWEATHER_TYPE_DIALOG)) -#define MATEWEATHER_DIALOG_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MATEWEATHER_TYPE_DIALOG, MateWeatherDialogClass)) - -typedef struct _MateWeatherDialog MateWeatherDialog; -typedef struct _MateWeatherDialogPrivate MateWeatherDialogPrivate; -typedef struct _MateWeatherDialogClass MateWeatherDialogClass; - -struct _MateWeatherDialog -{ - GtkDialog parent; - - /* private */ - MateWeatherDialogPrivate *priv; -}; - - -struct _MateWeatherDialogClass -{ - GtkDialogClass parent_class; -}; - -GType mateweather_dialog_get_type (void); -GtkWidget *mateweather_dialog_new (MateWeatherApplet *applet); -void mateweather_dialog_update (MateWeatherDialog *dialog); +#define MATEWEATHER_TYPE_DIALOG mateweather_dialog_get_type () +G_DECLARE_FINAL_TYPE (MateWeatherDialog, mateweather_dialog, + MATEWEATHER, DIALOG, GtkDialog) + +GtkWidget *mateweather_dialog_new (MateWeatherApplet *applet); +void mateweather_dialog_update (MateWeatherDialog *dialog); G_END_DECLS |