After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 505710 - empty error message in gtkfilesystemunix.c
empty error message in gtkfilesystemunix.c
Status: RESOLVED OBSOLETE
Product: gtk+
Classification: Platform
Component: Widget: GtkFileChooser
unspecified
Other Linux
: Normal minor
: ---
Assigned To: gtk-bugs
Federico Mena Quintero
Depends on:
Blocks:
 
 
Reported: 2007-12-26 11:00 UTC by Christian Persch
Modified: 2008-07-23 10:00 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Persch 2007-12-26 11:00:06 UTC
In gtk_file_system_unix_parse:  

if (!filename)
    {
      g_set_error (error,
                   GTK_FILE_SYSTEM_ERROR,
                   GTK_FILE_SYSTEM_ERROR_BAD_FILENAME,
                   "%s", ""); /* nothing for now, as we are string-frozen */
      return FALSE;
    }

This should be filled in now :)
Comment 1 Mathias Hasselmann (IRC: tbf) 2008-01-13 09:54:52 UTC
Christian, how did you find that one? From following the code paths in expand_tilde(), this branch only is entered in OOM conditions.

So I'd even vote for removing this check, and therefore this empty error message.

Federico?
Comment 2 Christian Persch 2008-01-13 13:02:27 UTC
(In reply to comment #1)
> Christian, how did you find that one?
I didn't encounter this message while running a programme; I just happened to look at the code.
Comment 3 Christian Persch 2008-07-23 10:00:11 UTC
This is obsoleted by the new gio filechooser.