Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 524850 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-2 / +3 lines)
Line  Link Here
0
-- panel-plugin/weather-parsers.c
0
++ panel-plugin/weather-parsers.c
Lines 28-33 Link Here
28
#define _XOPEN_SOURCE
28
#define _XOPEN_SOURCE
29
#define _XOPEN_SOURCE_EXTENDED 1
29
#define _XOPEN_SOURCE_EXTENDED 1
30
#include "weather-parsers.h"
30
#include "weather-parsers.h"
31
#include "weather-translate.h"
31
#include "weather-debug.h"
32
#include "weather-debug.h"
32
33
33
#include <time.h>
34
#include <time.h>
Lines 196-203 parse_location(xmlNode *cur_node, Link Here
196
        }
196
        }
197
        if (NODE_IS_TYPE(child_node, "symbol")) {
197
        if (NODE_IS_TYPE(child_node, "symbol")) {
198
            g_free(loc->symbol);
198
            g_free(loc->symbol);
199
            loc->symbol = PROP(child_node, "id");
200
            loc->symbol_id = strtol(PROP(child_node, "number"), NULL, 10);
199
            loc->symbol_id = strtol(PROP(child_node, "number"), NULL, 10);
200
            loc->symbol = g_strdup(get_symbol_for_id(loc->symbol_id));
201
        }
201
        }
202
    }
202
    }

Return to bug 524850