]> git.0d.be Git - empathy.git/blob - src/gedit-close-button.h
Update Simplified Chinese help translation.
[empathy.git] / src / gedit-close-button.h
1 /*
2  * gedit-close-button.h
3  * This file is part of gedit
4  *
5  * Copyright (C) 2010 - Paolo Borelli
6  *
7  * gedit is free software; you can redistribute it and/or
8  * modify it under the terms of the GNU Lesser General Public
9  * License as published by the Free Software Foundation; either
10  * version 2.1 of the License, or (at your option) any later version.
11  *
12  * gedit is distributed in the hope that it will be useful,
13  * but WITHOUT ANY WARRANTY; without even the implied warranty of
14  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
15  * Lesser General Public License for more details.
16  *
17  * You should have received a copy of the GNU Lesser General Public
18  * License along with this library; if not, write to the Free Software
19  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
20  */
21
22 #ifndef __GEDIT_CLOSE_BUTTON_H__
23 #define __GEDIT_CLOSE_BUTTON_H__
24
25 #include <gtk/gtk.h>
26
27 G_BEGIN_DECLS
28
29 #define GEDIT_TYPE_CLOSE_BUTTON                 (gedit_close_button_get_type ())
30 #define GEDIT_CLOSE_BUTTON(obj)                 (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_CLOSE_BUTTON, GeditCloseButton))
31 #define GEDIT_CLOSE_BUTTON_CONST(obj)           (G_TYPE_CHECK_INSTANCE_CAST ((obj), GEDIT_TYPE_CLOSE_BUTTON, GeditCloseButton const))
32 #define GEDIT_CLOSE_BUTTON_CLASS(klass)         (G_TYPE_CHECK_CLASS_CAST ((klass), GEDIT_TYPE_CLOSE_BUTTON, GeditCloseButtonClass))
33 #define GEDIT_IS_CLOSE_BUTTON(obj)              (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GEDIT_TYPE_CLOSE_BUTTON))
34 #define GEDIT_IS_CLOSE_BUTTON_CLASS(klass)      (G_TYPE_CHECK_CLASS_TYPE ((klass), GEDIT_TYPE_CLOSE_BUTTON))
35 #define GEDIT_CLOSE_BUTTON_GET_CLASS(obj)       (G_TYPE_INSTANCE_GET_CLASS ((obj), GEDIT_TYPE_CLOSE_BUTTON, GeditCloseButtonClass))
36
37 typedef struct _GeditCloseButton                GeditCloseButton;
38 typedef struct _GeditCloseButtonClass           GeditCloseButtonClass;
39 typedef struct _GeditCloseButtonClassPrivate    GeditCloseButtonClassPrivate;
40
41 struct _GeditCloseButton
42 {
43         GtkButton parent;
44 };
45
46 struct _GeditCloseButtonClass
47 {
48         GtkButtonClass parent_class;
49
50         GeditCloseButtonClassPrivate *priv;
51 };
52
53 GType             gedit_close_button_get_type (void) G_GNUC_CONST;
54
55 GtkWidget        *gedit_close_button_new      (void);
56
57 G_END_DECLS
58
59 #endif /* __GEDIT_CLOSE_BUTTON_H__ */
60 /* ex:set ts=8 noet: */