remove unused imguri property from GnomeWPItem
2007-09-23 Jens Granseuer <jensgr@gmx.net> * gnome-wp-item.c: (gnome_wp_item_free), (gnome_wp_item_dup): * gnome-wp-item.h: * gnome-wp-xml.c: (gnome_wp_xml_load_xml): remove unused imguri property from GnomeWPItem svn path=/trunk/; revision=8133
This commit is contained in:
parent
a3c138e754
commit
f4476707ff
4 changed files with 7 additions and 7 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2007-09-23 Jens Granseuer <jensgr@gmx.net>
|
||||||
|
|
||||||
|
* gnome-wp-item.c: (gnome_wp_item_free), (gnome_wp_item_dup):
|
||||||
|
* gnome-wp-item.h:
|
||||||
|
* gnome-wp-xml.c: (gnome_wp_xml_load_xml): remove unused imguri property
|
||||||
|
from GnomeWPItem
|
||||||
|
|
||||||
2007-09-23 Jens Granseuer <jensgr@gmx.net>
|
2007-09-23 Jens Granseuer <jensgr@gmx.net>
|
||||||
|
|
||||||
* appearance-desktop.c: (wp_drag_received), (wp_drag_get_data),
|
* appearance-desktop.c: (wp_drag_received), (wp_drag_get_data),
|
||||||
|
|
|
@ -89,7 +89,6 @@ void gnome_wp_item_free (GnomeWPItem * item) {
|
||||||
g_free (item->name);
|
g_free (item->name);
|
||||||
g_free (item->filename);
|
g_free (item->filename);
|
||||||
g_free (item->description);
|
g_free (item->description);
|
||||||
g_free (item->imguri);
|
|
||||||
g_free (item->options);
|
g_free (item->options);
|
||||||
g_free (item->shade_type);
|
g_free (item->shade_type);
|
||||||
|
|
||||||
|
@ -123,7 +122,6 @@ GnomeWPItem * gnome_wp_item_dup (GnomeWPItem * item) {
|
||||||
new_item->name = g_strdup (item->name);
|
new_item->name = g_strdup (item->name);
|
||||||
new_item->filename = g_strdup (item->filename);
|
new_item->filename = g_strdup (item->filename);
|
||||||
new_item->description = g_strdup (item->description);
|
new_item->description = g_strdup (item->description);
|
||||||
new_item->imguri = g_strdup (item->imguri);
|
|
||||||
new_item->options = g_strdup (item->options);
|
new_item->options = g_strdup (item->options);
|
||||||
new_item->shade_type = g_strdup (item->shade_type);
|
new_item->shade_type = g_strdup (item->shade_type);
|
||||||
|
|
||||||
|
|
|
@ -34,7 +34,6 @@ struct _GnomeWPItem {
|
||||||
gchar * name;
|
gchar * name;
|
||||||
gchar * filename;
|
gchar * filename;
|
||||||
gchar * description;
|
gchar * description;
|
||||||
gchar * imguri;
|
|
||||||
gchar * options;
|
gchar * options;
|
||||||
gchar * shade_type;
|
gchar * shade_type;
|
||||||
gchar * pri_color;
|
gchar * pri_color;
|
||||||
|
|
|
@ -159,10 +159,6 @@ static void gnome_wp_xml_load_xml (AppearanceData *data,
|
||||||
} else {
|
} else {
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
} else if (!strcmp ((gchar *)wpa->name, "imguri")) {
|
|
||||||
if (wpa->last != NULL) {
|
|
||||||
wp->imguri = g_strdup (g_strstrip ((gchar *)wpa->last->content));
|
|
||||||
}
|
|
||||||
} else if (!strcmp ((gchar *)wpa->name, "options")) {
|
} else if (!strcmp ((gchar *)wpa->name, "options")) {
|
||||||
if (wpa->last != NULL) {
|
if (wpa->last != NULL) {
|
||||||
wp->options = g_strdup (g_strstrip ((gchar *)wpa->last->content));
|
wp->options = g_strdup (g_strstrip ((gchar *)wpa->last->content));
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue