diff options
author | Perberos <[email protected]> | 2011-11-14 18:24:48 -0300 |
---|---|---|
committer | Perberos <[email protected]> | 2011-11-14 18:24:48 -0300 |
commit | 312ba610a1e98fc656fb58178227d7d45a64494e (patch) | |
tree | 54a3c2b6084c80e63fb0526c6e7b8e01627acbd7 /mateweather/mateweather-pref.h | |
download | mate-applets-312ba610a1e98fc656fb58178227d7d45a64494e.tar.bz2 mate-applets-312ba610a1e98fc656fb58178227d7d45a64494e.tar.xz |
initial
Diffstat (limited to 'mateweather/mateweather-pref.h')
-rw-r--r-- | mateweather/mateweather-pref.h | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/mateweather/mateweather-pref.h b/mateweather/mateweather-pref.h new file mode 100644 index 00000000..f3cc901b --- /dev/null +++ b/mateweather/mateweather-pref.h @@ -0,0 +1,59 @@ +/* $Id$ */ + +/* + * Papadimitriou Spiros <[email protected]> + * + * This code released under the GNU GPL. + * Read the file COPYING for more information. + * + * Preferences dialog + * + */ + +#ifndef __MATEWEATHER_PREF_H_ +#define __MATEWEATHER_PREF_H_ + +#include <gtk/gtk.h> + +#define MATEWEATHER_I_KNOW_THIS_IS_UNSTABLE + +#include "mateweather.h" + +G_BEGIN_DECLS + +#define MATEWEATHER_TYPE_PREF (mateweather_pref_get_type ()) +#define MATEWEATHER_PREF(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), MATEWEATHER_TYPE_PREF, MateWeatherPref)) +#define MATEWEATHER_PREF_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), MATEWEATHER_TYPE_PREF, MateWeatherPrefClass)) +#define MATEWEATHER_IS_PREF(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), MATEWEATHER_TYPE_PREF)) +#define MATEWEATHER_IS_PREF_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), MATEWEATHER_TYPE_PREF)) +#define MATEWEATHER_PREF_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), MATEWEATHER_TYPE_PREF, MateWeatherPrefClass)) + +typedef struct _MateWeatherPref MateWeatherPref; +typedef struct _MateWeatherPrefPrivate MateWeatherPrefPrivate; +typedef struct _MateWeatherPrefClass MateWeatherPrefClass; + +struct _MateWeatherPref +{ + GtkDialog parent; + + /* private */ + MateWeatherPrefPrivate *priv; +}; + + +struct _MateWeatherPrefClass +{ + GtkDialogClass parent_class; +}; + +GType mateweather_pref_get_type (void); +GtkWidget *mateweather_pref_new (MateWeatherApplet *applet); + + +void set_access_namedesc (GtkWidget *widget, const gchar *name, const gchar *desc); + + +G_END_DECLS + +#endif /* __MATEWEATHER_PREF_H */ + |