Christian Brabandt wrote:

> On Do, 17 Jan 2013, Bram Moolenaar wrote:
> 
> > 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?
> 
> If you look at feature.h it is clear, that a gui tiny built does not 
> define FEAT_CON_DIALOG:
> #ifdef FEAT_NORMAL
> # if ((defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_MOTIF)) \
>         && defined(HAVE_X11_XPM_H)) \
>     || defined(FEAT_GUI_GTK) \
>     || defined(FEAT_GUI_PHOTON) \
>     || defined(FEAT_GUI_MSWIN) \
>     || defined(FEAT_GUI_MAC)
> #  define FEAT_CON_DIALOG
> #  define FEAT_GUI_DIALOG
> # else
> #  define FEAT_CON_DIALOG
> # endif
> #endif
> #if !defined(FEAT_GUI_DIALOG) && (defined(FEAT_GUI_MOTIF) \
>     || defined(FEAT_GUI_ATHENA) || defined(FEAT_GUI_GTK) \
>     || defined(FEAT_GUI_W32))
> /* need a dialog to show error messages when starting from the desktop */
> # define FEAT_GUI_DIALOG
> #endif
> #if defined(FEAT_GUI_DIALOG) && \
>     (defined(FEAT_GUI_MOTIF) || defined(FEAT_GUI_ATHENA) \
>      || defined(FEAT_GUI_GTK) || defined(FEAT_GUI_MSWIN) \
>      || defined(FEAT_GUI_PHOTON) || defined(FEAT_GUI_MAC))
> # define FEAT_GUI_TEXTDIALOG
> #endif
> 
> and in vim.h
> 
> #if defined(FEAT_GUI_DIALOG) && !defined(FEAT_CON_DIALOG)
> # define do_dialog gui_mch_dialog
> #endif
> 
> :version shows
> 
> [...]
>  -cmdline_compl -cmdline_hist -cmdline_info -comments -conceal -cryptv 
> -cscope -cursorbind
>  cursorshape +dialog_gui -diff -digraphs +dnd -ebcdic -emacs_tags -eval 
> -ex_extra
> -extra_search
> [...]
> 
> So the when showing the E325 message, the console tiny build will try to 
> show a gui-dialog, which does not work.

When I start Vim with:

        ./gvim /tmp/tt -u NONE

While /tmp/tt is already edited by another Vim, I just get the GUI
dialog.  Thus I'm missing the reason why the GUI dialog doesn't work for
you.

The libraries used for me are:
GTK_LIBNAME     = -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 
-lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype 
-lfontconfig -lgobject-2.0 -lglib-2.0

-- 
"My particular problem is with registry entries, which seem to just
accumulate like plastic coffee cups..."           -- Paul Moore

 /// 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