pidgin/pidginclosebutton.h

changeset 41452
e4b5b21470b4
parent 41451
e587ef39e02e
child 41453
380febc4aae7
equal deleted inserted replaced
41451:e587ef39e02e 41452:e4b5b21470b4
1 /*
2 * pidgin
3 *
4 * Pidgin is the legal property of its developers, whose names are too numerous
5 * to list here. Please refer to the COPYRIGHT file distributed with this
6 * source distribution.
7 *
8 * This program is free software; you can redistribute it and/or modify
9 * it under the terms of the GNU General Public License as published by
10 * the Free Software Foundation; either version 2 of the License, or
11 * (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, see <https://www.gnu.org/licenses/>.
20 */
21
22 #if !defined(PIDGIN_GLOBAL_HEADER_INSIDE) && !defined(PIDGIN_COMPILATION)
23 # error "only <pidgin.h> may be included directly"
24 #endif
25
26 #ifndef PIDGIN_CLOSE_BUTTON_H
27 #define PIDGIN_CLOSE_BUTTON_H
28
29 #include <glib.h>
30
31 #include <gtk/gtk.h>
32
33 G_BEGIN_DECLS
34
35 /**
36 * PidginCloseButton:
37 *
38 * #PidginCloseButton is a transitional widget as we slowly migrate the
39 * conversation window to glade.
40 *
41 * Since: 3.0.0
42 */
43
44 #define PIDGIN_TYPE_CLOSE_BUTTON (pidgin_close_button_get_type())
45 G_DECLARE_FINAL_TYPE(PidginCloseButton, pidgin_close_button, PIDGIN,
46 CLOSE_BUTTON, GtkButton)
47
48 /**
49 * pidgin_close_button_new:
50 *
51 * Creates a new #PidginCloseButton instance.
52 *
53 * Returns: (transfer full): The new #PidginCloseButton instance.
54 *
55 * Since: 3.0.0
56 */
57 GtkWidget *pidgin_close_button_new(void);
58
59 G_END_DECLS
60
61 #endif /* PIDGIN_CLOSE_BUTTON_H */

mercurial