Definition of FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME doesn't exist in glibmm,
but you should use G_FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME instead, which is
defined in gio/gfileinfo.h (you probably don't have to explicitly include
this file).




2015-05-26 7:07 GMT+02:00 Adam Nielsen <a.niel...@shikadi.net>:

> Hi all,
>
> Reading the documentation for Gio::File::get_basename() it says:
>
>   If you want to use filenames in a user interface you should use the
>   display name that you can get by requesting the
>   FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME attribute with
>   g_file_query_info()
>
> I'm assuming this means Gio::File::query_info(), however
> FILE_ATTRIBUTE_STANDARD_DISPLAY_NAME is undefined and I can't work out
> whether I have to call that something else as well, and if so, what.
>
> There doesn't seem to be any other reference to it in the docs, and
> even grepping the include files doesn't show any definitions.
>
> Where is this one defined?
>
> Many thanks,
> Adam.
>
>
> _______________________________________________
> gtkmm-list mailing list
> gtkmm-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gtkmm-list
>



-- 
Pozdrawiam
Marcin Kolny
_______________________________________________
gtkmm-list mailing list
gtkmm-list@gnome.org
https://mail.gnome.org/mailman/listinfo/gtkmm-list

Reply via email to