diff options
| author | Scott Moynes <smoynes@nexus.carleton.ca> | 2003-07-23 01:45:44 +0000 |
|---|---|---|
| committer | Scott Moynes <smoynes@nexus.carleton.ca> | 2003-07-23 01:45:44 +0000 |
| commit | 0e69ae2b96fb4dd7435ebe15645d1384d11a3ef7 (patch) | |
| tree | fb68e08bfab17debce6c71a57df541197e296a82 /plugins/placement/history.c | |
| parent | 845833226b7d65019d41eb3afce6fad7ae3d30a2 (diff) | |
* Change xml parsing to pass the parent node, rather than the first
child.
* Add x,y co-ordinates on showmenu action so we can place menus on keypress.
Diffstat (limited to 'plugins/placement/history.c')
| -rw-r--r-- | plugins/placement/history.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/placement/history.c b/plugins/placement/history.c index eeff1f63..27efa677 100644 --- a/plugins/placement/history.c +++ b/plugins/placement/history.c @@ -181,7 +181,7 @@ static void save_history() xmlIndentTreeOutput = 1; xmlSaveFormatFile(history_path, doc, 1); - xmlFree(doc); + xmlFreeDoc(doc); } static void load_history() @@ -236,7 +236,7 @@ static void load_history() g_free(name); g_free(class); g_free(role); node = parse_find_node("entry", node->next); } - xmlFree(doc); + xmlFreeDoc(doc); } void history_startup() |
