Mercurial > pidgin.yaz
diff pidgin/gtkicon-theme.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 | 9525fb966efb |
children | 74d62c5fd716 b1c8ffbd48f9 |
line wrap: on
line diff
--- a/pidgin/gtkicon-theme.h Sat Jan 24 03:11:09 2009 +0000 +++ b/pidgin/gtkicon-theme.h Sun Jan 25 22:55:23 2009 +0000 @@ -23,8 +23,8 @@ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301 USA */ -#ifndef _PIDGIN_ICON_THEME_H_ -#define _PIDGIN_ICON_THEME_H_ +#ifndef PIDGIN_ICON_THEME_H +#define PIDGIN_ICON_THEME_H #include <glib.h> #include <glib-object.h> @@ -40,12 +40,12 @@ typedef struct _PidginIconTheme PidginIconTheme; typedef struct _PidginIconThemeClass PidginIconThemeClass; -#define PIDGIN_TYPE_ICON_THEME (pidgin_icon_theme_get_type ()) -#define PIDGIN_ICON_THEME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PIDGIN_TYPE_ICON_THEME, PidginIconTheme)) -#define PIDGIN_ICON_THEME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PIDGIN_TYPE_ICON_THEME, PidginIconThemeClass)) -#define PIDGIN_IS_ICON_THEME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PIDGIN_TYPE_ICON_THEME)) -#define PIDGIN_IS_ICON_THEME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PIDGIN_TYPE_ICON_THEME)) -#define PIDGIN_ICON_THEME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PIDGIN_TYPE_ICON_THEME, PidginIconThemeClass)) +#define PIDGIN_TYPE_ICON_THEME (pidgin_icon_theme_get_type ()) +#define PIDGIN_ICON_THEME(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PIDGIN_TYPE_ICON_THEME, PidginIconTheme)) +#define PIDGIN_ICON_THEME_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PIDGIN_TYPE_ICON_THEME, PidginIconThemeClass)) +#define PIDGIN_IS_ICON_THEME(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PIDGIN_TYPE_ICON_THEME)) +#define PIDGIN_IS_ICON_THEME_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), PIDGIN_TYPE_ICON_THEME)) +#define PIDGIN_ICON_THEME_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS ((obj), PIDGIN_TYPE_ICON_THEME, PidginIconThemeClass)) struct _PidginIconTheme { @@ -77,7 +77,8 @@ * @returns the filename of the icon event */ const gchar *pidgin_icon_theme_get_icon(PidginIconTheme *theme, - const gchar *event); + const gchar *event); + /** * Sets the filename for a given icon id, setting the icon to NULL will remove the icon from the theme * @@ -85,8 +86,8 @@ * @param filename the name of the file to be used for the given id */ void pidgin_icon_theme_set_icon(PidginIconTheme *theme, - const gchar *icon_id, - const gchar *filename); + const gchar *icon_id, + const gchar *filename); G_END_DECLS -#endif /* _PIDGIN_ICON_THEME_H_ */ +#endif /* PIDGIN_ICON_THEME_H */