Well, after a long pause I found some time to look into rawstudio 2.0 on
FreeBSD 8.

It does not start up because g_type_name in filetype_changed in
rs-batch.c bombs :(

I've now brought it up by hardcoding the output file type, which is not
really nice ;)

I've also tried setting "active" to a known value (see below), but it
still bombs. What can I do to provide more information? I've no idea how
the gtk type system (or c ;) works.

static void
filetype_changed(gpointer active, gpointer user_data)
{
        RS_QUEUE *queue = (RS_QUEUE *) user_data;

        /* the g_type_name below bombs even with this added: */
        active = GUINT_TO_POINTER(g_type_from_name("RSJpegfile"));

        GType filetype = GPOINTER_TO_INT(active);

        printf("%i: %i\n", active, filetype);

        if (!filetype)
                return;
        if (queue->output)
                g_object_unref(queue->output);
        queue->output = rs_output_new(g_type_name(filetype));
}

This problem hits at least some more freebsd users, I've asked around:
http://forums.freebsd.org/showthread.php?t=23230

If I put in a printf("%i",active) it prints 170706976 

/ Mathias


_______________________________________________
Rawstudio-users mailing list
[email protected]
http://rawstudio.org/cgi-bin/mailman/listinfo/rawstudio-users

Reply via email to