comparison pidgin/gtkicon-theme-loader.h @ 25402:0c7b74fc558e

Lots of minor whitespace and comment changes: * Removed stray whitespace * Changed a few places that used space indentation to use tabs * Changed some places that used tabs for alignment in the middle of a line of code to use spaces * Use two tabs to indent code that spans more than one line instead of a few tabs and a few spaces in an effort to align the subsequent lines with the initial one * Changed "#ifdef _BLAH_H" to "#ifdef BLAH_H" because an underscore followed by a capital letter is reserved for use by the compiler and system libraries. I also changed the path to the sound theme.xml file from root_node = xmlnode_from_file(dir, "theme.xml", "sound themes", "sound-loader"); to root_node = xmlnode_from_file(dir, "theme.xml", "sound themes", "sound-theme-loader");
author Mark Doliner <mark@kingant.net>
date Sun, 25 Jan 2009 22:55:23 +0000
parents 7ddaa405936e
children 74d62c5fd716
comparison
equal deleted inserted replaced
25401:3d8c53f3108e 25402:0c7b74fc558e
21 * You should have received a copy of the GNU General Public License 21 * You should have received a copy of the GNU General Public License
22 * along with this program; if not, write to the Free Software 22 * along with this program; if not, write to the Free Software
23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA 23 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA
24 */ 24 */
25 25
26 #ifndef _PIDGIN_ICON_THEME_LOADER_H_ 26 #ifndef PIDGIN_ICON_THEME_LOADER_H
27 #define _PIDGIN_ICON_THEME_LOADER_H_ 27 #define PIDGIN_ICON_THEME_LOADER_H
28 28
29 #include <glib.h> 29 #include <glib.h>
30 #include <glib-object.h> 30 #include <glib-object.h>
31 #include "theme-loader.h" 31 #include "theme-loader.h"
32 32
35 * This is a class designed to build icon themes 35 * This is a class designed to build icon themes
36 * 36 *
37 * PidginIconThemeLoader is a GObject. 37 * PidginIconThemeLoader is a GObject.
38 */ 38 */
39 typedef struct _PidginIconThemeLoader PidginIconThemeLoader; 39 typedef struct _PidginIconThemeLoader PidginIconThemeLoader;
40 typedef struct _PidginIconThemeLoaderClass PidginIconThemeLoaderClass; 40 typedef struct _PidginIconThemeLoaderClass PidginIconThemeLoaderClass;
41 41
42 #define PIDGIN_TYPE_ICON_THEME_LOADER (pidgin_icon_theme_loader_get_type ()) 42 #define PIDGIN_TYPE_ICON_THEME_LOADER (pidgin_icon_theme_loader_get_type ())
43 #define PIDGIN_ICON_THEME_LOADER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PIDGIN_TYPE_ICON_THEME_LOADER, PidginIconThemeLoader)) 43 #define PIDGIN_ICON_THEME_LOADER(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PIDGIN_TYPE_ICON_THEME_LOADER, PidginIconThemeLoader))
44 #define PIDGIN_ICON_THEME_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PIDGIN_TYPE_ICON_THEME_LOADER, PidginIconThemeLoaderClass)) 44 #define PIDGIN_ICON_THEME_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PIDGIN_TYPE_ICON_THEME_LOADER, PidginIconThemeLoaderClass))
45 #define PIDGIN_IS_ICON_THEME_LOADER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PIDGIN_TYPE_ICON_THEME_LOADER)) 45 #define PIDGIN_IS_ICON_THEME_LOADER(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PIDGIN_TYPE_ICON_THEME_LOADER))
46 #define PIDGIN_IS_ICON_THEME_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PIDGIN_TYPE_ICON_THEME_LOADER)) 46 #define PIDGIN_IS_ICON_THEME_LOADER_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PIDGIN_TYPE_ICON_THEME_LOADER))
47 #define PIDGIN_ICON_THEME_LOADER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PIDGIN_TYPE_ICON_THEME_LOADER, PidginIconThemeLoaderClass)) 47 #define PIDGIN_ICON_THEME_LOADER_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PIDGIN_TYPE_ICON_THEME_LOADER, PidginIconThemeLoaderClass))
48 48
49 struct _PidginIconThemeLoader 49 struct _PidginIconThemeLoader
50 { 50 {
51 PurpleThemeLoader parent; 51 PurpleThemeLoader parent;
52 }; 52 };
66 * @internal. 66 * @internal.
67 */ 67 */
68 GType pidgin_icon_theme_loader_get_type(void); 68 GType pidgin_icon_theme_loader_get_type(void);
69 69
70 G_END_DECLS 70 G_END_DECLS
71 #endif /* _PIDGIN_ICON_THEME_LOADER_H_ */ 71 #endif /* PIDGIN_ICON_THEME_LOADER_H */