/* If @dirs_only is TRUE, @completer will only complete directory names, and not file names.  */
void g_filename_completer_set_dirs_only(GFilenameCompleter *completer, gboolean dirs_only)
/* If @dirs_only is TRUE, @completer will only complete directory names, and not file names.  */
void g_filename_completer_set_dirs_only(GFilenameCompleter *completer, gboolean dirs_only)
{
  g_return_if_fail (G_IS_FILENAME_COMPLETER (completer));
  completer->dirs_only = dirs_only;
}