[openbox] obconf-1.5 make problem (openbsd 3.4)

Mike logan at dct.com
Wed Feb 4 14:37:03 EST 2004


On Wednesday, February 04, 2004 at 05:28AM, J S wrote:
>I have done what you suggested and still come to compile problems:
>
>-g -O2 -c -o src/src_obconf-handlers.o `test -f 'src/handlers.c' || echo 
>'./'`
>rc/handlers.c
>src/handlers.c: In function `on_desktop_names_cell_edited':
>src/handlers.c:987: syntax error before `*'
>src/handlers.c:994: `it' undeclared (first use in this function)

Ok, ignore my original fix, you could end up with a memory leak.. I'm not real sure what 'mapping' is for. Instead make the top of on_desktop_names_cell_edited() look like this:

{
    GtkTreePath *path;
    GtkTreeIter it;
    gchar *old_text;
    GList *lit;
    gint i;
    xmlNodePtr n, c;

    if (mapping) return;

    path = gtk_tree_path_new_from_string (path_string);

...



More information about the openbox mailing list