Use g_*list_free_full() instead of g_*list_foreach()
[geany-mirror.git] / src / geanywraplabel.h
blob87dae264d311812aede60ad56e17d4e60f9e4d27
1 /*
2 * geanywraplabel.h - this file is part of Geany, a fast and lightweight IDE
4 * Copyright 2009 The Geany contributors
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License along
17 * with this program; if not, write to the Free Software Foundation, Inc.,
18 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21 #ifndef GEANY_WRAP_LABEL_H
22 #define GEANY_WRAP_LABEL_H 1
24 #include "gtkcompat.h"
26 G_BEGIN_DECLS
29 #define GEANY_WRAP_LABEL_TYPE (geany_wrap_label_get_type())
30 #define GEANY_WRAP_LABEL(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), \
31 GEANY_WRAP_LABEL_TYPE, GeanyWrapLabel))
32 #define GEANY_WRAP_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), \
33 GEANY_WRAP_LABEL_TYPE, GeanyWrapLabelClass))
34 #define IS_GEANY_WRAP_LABEL(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), \
35 GEANY_WRAP_LABEL_TYPE))
36 #define IS_GEANY_WRAP_LABEL_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), \
37 GEANY_WRAP_LABEL_TYPE))
40 typedef struct _GeanyWrapLabel GeanyWrapLabel;
41 typedef struct _GeanyWrapLabelClass GeanyWrapLabelClass;
43 GType geany_wrap_label_get_type (void);
44 GtkWidget* geany_wrap_label_new (const gchar *text);
47 G_END_DECLS
49 #endif /* GEANY_WRAP_LABEL_H */