g_value_type_transformable String to Enum fails
- From: Mike Massonnet <mmassonnet gmail com>
- To: GTK Applications <gtk-app-devel-list gnome org>
- Subject: g_value_type_transformable String to Enum fails
- Date: Tue, 28 Sep 2010 20:52:04 +0200
Hi,
By compiling the following code snippet, at execution it prints a
critical message. Is this a bug or just normal?
(process:1545): GLib-GObject-CRITICAL **: g_value_type_transformable:
assertion `G_TYPE_IS_VALUE (dest_type)' failed
// cc `pkg-config --cflags --libs gobject-2.0`
#include <glib-object.h>
int main (int argc, char *argv[])
{
g_type_init ();
g_value_type_transformable (G_TYPE_STRING, G_TYPE_ENUM);
return 0;
}
--
Mike
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]