fix function signatures
2007-06-20 Jens Granseuer <jensgr@gmx.net> * gnome-theme-info.c: (gnome_theme_icon_info_find, gnome_theme_is_writable): * gnome-theme-info.h: fix function signatures svn path=/trunk/; revision=7754
This commit is contained in:
parent
89d4dc18ff
commit
33dd3f654a
3 changed files with 13 additions and 7 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2007-06-20 Jens Granseuer <jensgr@gmx.net>
|
||||||
|
|
||||||
|
* gnome-theme-info.c: (gnome_theme_icon_info_find,
|
||||||
|
gnome_theme_is_writable):
|
||||||
|
* gnome-theme-info.h: fix function signatures
|
||||||
|
|
||||||
2007-06-18 Jens Granseuer <jensgr@gmx.net>
|
2007-06-18 Jens Granseuer <jensgr@gmx.net>
|
||||||
|
|
||||||
* Makefile.am: remove obsolete files
|
* Makefile.am: remove obsolete files
|
||||||
|
|
|
@ -1291,7 +1291,7 @@ gnome_theme_icon_info_free (GnomeThemeIconInfo *icon_theme_info)
|
||||||
g_free (icon_theme_info);
|
g_free (icon_theme_info);
|
||||||
}
|
}
|
||||||
|
|
||||||
GnomeThemeInfo *
|
GnomeThemeIconInfo *
|
||||||
gnome_theme_icon_info_find (const gchar *icon_theme_name)
|
gnome_theme_icon_info_find (const gchar *icon_theme_name)
|
||||||
{
|
{
|
||||||
g_return_val_if_fail (icon_theme_name != NULL, NULL);
|
g_return_val_if_fail (icon_theme_name != NULL, NULL);
|
||||||
|
@ -1464,7 +1464,7 @@ gnome_theme_meta_info_compare (GnomeThemeMetaInfo *a,
|
||||||
}
|
}
|
||||||
|
|
||||||
gboolean
|
gboolean
|
||||||
gnome_theme_is_writable (gpointer theme, GnomeThemeType type) {
|
gnome_theme_is_writable (const gpointer theme, GnomeThemeType type) {
|
||||||
GnomeVFSResult vfs_result;
|
GnomeVFSResult vfs_result;
|
||||||
GnomeVFSFileInfo *vfs_info;
|
GnomeVFSFileInfo *vfs_info;
|
||||||
const gchar *theme_path;
|
const gchar *theme_path;
|
||||||
|
@ -1475,13 +1475,13 @@ gnome_theme_is_writable (gpointer theme, GnomeThemeType type) {
|
||||||
|
|
||||||
switch (type) {
|
switch (type) {
|
||||||
case GNOME_THEME_TYPE_REGULAR:
|
case GNOME_THEME_TYPE_REGULAR:
|
||||||
theme_path = ((GnomeThemeInfo *) theme)->path;
|
theme_path = ((const GnomeThemeInfo *) theme)->path;
|
||||||
break;
|
break;
|
||||||
case GNOME_THEME_TYPE_ICON:
|
case GNOME_THEME_TYPE_ICON:
|
||||||
theme_path = ((GnomeThemeIconInfo *) theme)->path;
|
theme_path = ((const GnomeThemeIconInfo *) theme)->path;
|
||||||
break;
|
break;
|
||||||
case GNOME_THEME_TYPE_METATHEME:
|
case GNOME_THEME_TYPE_METATHEME:
|
||||||
theme_path = ((GnomeThemeMetaInfo *) theme)->path;
|
theme_path = ((const GnomeThemeMetaInfo *) theme)->path;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
g_assert_not_reached ();
|
g_assert_not_reached ();
|
||||||
|
|
|
@ -108,7 +108,7 @@ GnomeThemeInfo *gnome_theme_info_find_by_uri (const gchar *
|
||||||
/* Icon Themes */
|
/* Icon Themes */
|
||||||
GnomeThemeIconInfo *gnome_theme_icon_info_new (void);
|
GnomeThemeIconInfo *gnome_theme_icon_info_new (void);
|
||||||
void gnome_theme_icon_info_free (GnomeThemeIconInfo *icon_theme_info);
|
void gnome_theme_icon_info_free (GnomeThemeIconInfo *icon_theme_info);
|
||||||
GnomeThemeInfo *gnome_theme_icon_info_find (const gchar *icon_theme_name);
|
GnomeThemeIconInfo *gnome_theme_icon_info_find (const gchar *icon_theme_name);
|
||||||
GList *gnome_theme_icon_info_find_all (void);
|
GList *gnome_theme_icon_info_find_all (void);
|
||||||
gint gnome_theme_icon_info_compare (GnomeThemeIconInfo *a,
|
gint gnome_theme_icon_info_compare (GnomeThemeIconInfo *a,
|
||||||
GnomeThemeIconInfo *b);
|
GnomeThemeIconInfo *b);
|
||||||
|
@ -129,7 +129,7 @@ GnomeThemeMetaInfo *gnome_theme_read_meta_theme (GnomeVFSURI *meta_th
|
||||||
void gnome_theme_init (gboolean *monitor_not_added);
|
void gnome_theme_init (gboolean *monitor_not_added);
|
||||||
void gnome_theme_info_register_theme_change (ThemeChangedCallback func,
|
void gnome_theme_info_register_theme_change (ThemeChangedCallback func,
|
||||||
gpointer data);
|
gpointer data);
|
||||||
gboolean gnome_theme_is_writable (gpointer theme,
|
gboolean gnome_theme_is_writable (const gpointer theme,
|
||||||
GnomeThemeType type);
|
GnomeThemeType type);
|
||||||
|
|
||||||
#endif /* GNOME_THEME_INFO_H */
|
#endif /* GNOME_THEME_INFO_H */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue