[Bug 683760] New: Formatter.can_load_uri cannot be used as a gtk filter function

GStreamer (bugzilla.gnome.org) bugzilla at gnome.org
Mon Sep 10 19:38:18 PDT 2012


https://bugzilla.gnome.org/show_bug.cgi?id=683760
  GStreamer | gst-editing-services | 0.11.x

           Summary: Formatter.can_load_uri cannot be used as a gtk filter
                    function
    Classification: Platform
           Product: GStreamer
           Version: 0.11.x
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: Normal
         Component: gst-editing-services
        AssignedTo: gstreamer-bugs at lists.freedesktop.org
        ReportedBy: nekohayo at gmail.com
         QAContact: gstreamer-bugs at lists.freedesktop.org
     GNOME version: ---


Using can_load_uri as a GtkFileFilterFunc, like so:

default = Gtk.FileFilter()
default.set_name(_("All formats"))
default.add_custom(Gtk.FileFilterFlags.URI, GES.Formatter.can_load_uri, None)
chooser.add_filter(default)


...Gives a TypeError: can_load_uri() takes exactly 1 argument (2 given)

-- 
Configure bugmail: https://bugzilla.gnome.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list