Updated Spanish translation
[empathy-mirror.git] / src / gedit-close-button.h
blob791a730242e17657eeb28dc8f73168c75dd0f38f
1 /*
2 * gedit-close-button.h
3 * This file is part of gedit
5 * Copyright (C) 2010 - Paolo Borelli
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.
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.
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
22 #ifndef __GEDIT_CLOSE_BUTTON_H__
23 #define __GEDIT_CLOSE_BUTTON_H__
25 #include <gtk/gtk.h>
27 G_BEGIN_DECLS
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))
37 typedef struct _GeditCloseButton GeditCloseButton;
38 typedef struct _GeditCloseButtonClass GeditCloseButtonClass;
39 typedef struct _GeditCloseButtonClassPrivate GeditCloseButtonClassPrivate;
41 struct _GeditCloseButton
43 GtkButton parent;
46 struct _GeditCloseButtonClass
48 GtkButtonClass parent_class;
50 GeditCloseButtonClassPrivate *priv;
53 GType gedit_close_button_get_type (void) G_GNUC_CONST;
55 GtkWidget *gedit_close_button_new (void);
57 G_END_DECLS
59 #endif /* __GEDIT_CLOSE_BUTTON_H__ */
60 /* ex:set ts=8 noet: */