Mercurial > pidgin.yaz
comparison pidgin/gtkstatus-icon-theme.c @ 23697:0bbfb20bad19
Clean up status icon themes a bit
author | Justin Rodriguez <ffdragon@soc.pidgin.im> |
---|---|
date | Fri, 08 Aug 2008 20:47:15 +0000 |
parents | |
children | 1a4417138a8f |
comparison
equal
deleted
inserted
replaced
23696:2753d96ed2bb | 23697:0bbfb20bad19 |
---|---|
1 /* | |
2 * Status Icon Themes for 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, write to the Free Software | |
20 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA | |
21 * | |
22 */ | |
23 | |
24 #include "gtkstatus-icon-theme.h" | |
25 | |
26 /****************************************************************************** | |
27 * Structs | |
28 *****************************************************************************/ | |
29 /****************************************************************************** | |
30 * Globals | |
31 *****************************************************************************/ | |
32 static GObjectClass *parent_class = NULL; | |
33 /****************************************************************************** | |
34 * Enums | |
35 *****************************************************************************/ | |
36 /****************************************************************************** | |
37 * GObject Stuff | |
38 *****************************************************************************/ | |
39 | |
40 static void | |
41 pidgin_status_icon_theme_finalize (GObject *obj) | |
42 { | |
43 parent_class->finalize (obj); | |
44 } | |
45 | |
46 static void | |
47 pidgin_status_icon_theme_class_init (PidginStatusIconThemeClass *klass) | |
48 { | |
49 GObjectClass *obj_class = G_OBJECT_CLASS(klass); | |
50 | |
51 parent_class = g_type_class_peek_parent(klass); | |
52 | |
53 obj_class->finalize = pidgin_status_icon_theme_finalize; | |
54 } | |
55 | |
56 GType | |
57 pidgin_status_icon_theme_get_type (void) | |
58 { | |
59 static GType type = 0; | |
60 if (type == 0) { | |
61 static const GTypeInfo info = { | |
62 sizeof (PidginStatusIconThemeClass), | |
63 NULL, /* base_init */ | |
64 NULL, /* base_finalize */ | |
65 (GClassInitFunc)pidgin_status_icon_theme_class_init, /* class_init */ | |
66 NULL, /* class_finalize */ | |
67 NULL, /* class_data */ | |
68 sizeof (PidginStatusIconTheme), | |
69 0, /* n_preallocs */ | |
70 NULL, | |
71 NULL, /* value table */ | |
72 }; | |
73 type = g_type_register_static (PIDGIN_TYPE_ICON_THEME, | |
74 "PidginStatusIconTheme", | |
75 &info, 0); | |
76 } | |
77 return type; | |
78 } |