summaryrefslogtreecommitdiff
path: root/mateweather/mateweather-pref.h
blob: f3cc901b8a9eace879994268c3bc55a0d7505597 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
/* $Id$ */

/*
 *  Papadimitriou Spiros <spapadim+@cs.cmu.edu>
 *
 *  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 */