Christian Brabandt wrote:

> Bram,
> for some reason or the other, I tried a tiny built. Unexptingly the 
> configure script found gnome libraries and built a version of vim linked 
> against the GTK libraries. That was fine, until I hit E325 Message, when 
> Vim crashed:
> 
> (process:25595): GLib-GObject-CRITICAL **: 
> /build/buildd/glib2.0-2.34.1/./gobject/gtype.c:2720: You forgot to call 
> g_type_init()
> 
>                                                                               
>                                                   (process:25595): 
> GLib-CRITICAL **: g_once_init_leave: assertion `result != 0' failed
> 
>                                                (process:25595): 
> GLib-GObject-CRITICAL **: 
> /build/buildd/glib2.0-2.34.1/./gobject/gtype.c:2720: You forgot to call 
> g_type_init()
> 
>           (process:25595): GLib-GObject-CRITICAL **: 
> /build/buildd/glib2.0-2.34.1/./gobject/gtype.c:2720: You forgot to call 
> g_type_init()
> 
>                                                                               
>                                                             (process:25595): 
> GLib-GObject-CRITICAL **: 
> /build/buildd/glib2.0-2.34.1/./gobject/gtype.c:2720: You forgot to call 
> g_type_init()
> 
>                                                                               
>                        (process:25595): GLib-GObject-CRITICAL **: 
> g_type_add_interface_static: assertion `G_TYPE_IS_INSTANTIATABLE 
> (instance_type)' failed
> 
>                                                                    
> (process:25595): GLib-GObject-CRITICAL **: 
> /build/buildd/glib2.0-2.34.1/./gobject/gtype.c:2720: You forgot to call 
> g_type_init()
> 
>                               (process:25595): GLib-GObject-CRITICAL **: 
> g_type_interface_add_prerequisite: assertion `G_TYPE_IS_INTERFACE 
> (interface_type)' failed
> 
>                                                                               
>                                                                               
>        (process:25595): GLib-CRITICAL **: g_once_init_leave: assertion 
> `result != 0' failed
> 
>                                                                               
>     (process:25595): GLib-GObject-CRITICAL **: g_type_add_interface_static: 
> assertion `G_TYPE_IS_INSTANTIATABLE (instance_type)' failed
> 
>                                                 (process:25595): 
> GLib-GObject-CRITICAL **: 
> /build/buildd/glib2.0-2.34.1/./gobject/gtype.c:2720: You forgot to call 
> g_type_init()
> 
> 
> This patch fixes it (I think, please check):
> 
> diff --git a/src/feature.h b/src/feature.h
> --- a/src/feature.h
> +++ b/src/feature.h
> @@ -820,6 +820,7 @@
>          || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MSWIN) \
>          || defined(FEAT_GUI_PHOTON) || defined(FEAT_GUI_MAC))
>  # define FEAT_GUI_TEXTDIALOG
> +# define FEAT_CON_DIALOG
>  #endif

I cannot reproduce the problem.  Does this depend on the version of GTK?
I'm also using glib-2.0 though.  Any other feature that matters?

-- 
In his lifetime van Gogh painted 486 oil paintings. Oddly enough, 8975
of them are to be found in the United States.

 /// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net   \\\
///        sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
\\\  an exciting new programming language -- http://www.Zimbu.org        ///
 \\\            help me help AIDS victims -- http://ICCF-Holland.org    ///

-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui