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 601934 - [PATCH] Fix gtksourceview's guess_language method
[PATCH] Fix gtksourceview's guess_language method
Status: RESOLVED FIXED
Product: vala
Classification: Core
Component: Bindings
0.7.x
Other Linux
: Normal normal
: ---
Assigned To: Vala maintainers
Vala maintainers
Depends on:
Blocks:
 
 
Reported: 2009-11-15 00:56 UTC by James Campos
Modified: 2009-11-16 19:07 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
$ git diff > patch (1.62 KB, patch)
2009-11-15 00:59 UTC, James Campos
none Details | Review

Description James Campos 2009-11-15 00:56:54 UTC
The guess_language method of a SourceLanguageManager object allows either the filename or content_type parameter to be null. This patches Vala to not give a warning when null parameters are passed.
Comment 1 James Campos 2009-11-15 00:59:46 UTC
Created attachment 147751 [details] [review]
$ git diff > patch

Here's the patch. I just ran 'git diff > patch', let me know if that's fine.
Comment 2 Evan Nemerson 2009-11-16 19:07:10 UTC
commit 447faae6d1433f37abd02fb207d13c2f99e26f9f
Author: James Campos <james.r.campos@gmail.com>
Date:   Mon Nov 16 11:05:02 2009 -0800

    gtksourceview-2.0: Fix gtksourceview's guess_language method.
    
    Fixes bug 601934.