This is the mail archive of the guile-gtk@sources.redhat.com mailing list for the Guile project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gdk-selection-property-get (was: Selection and DND completed)


Marko Rauhamaa <marko@pacujo.net> writes:
>
> I set *prop_type to GDK_NONE and *prop_format to
> 8 (sic) in case of failure.

I think it'd be better as 0 to mean sort of no format at all,

        * gdk-support.c (gdk_selection_property_get_interp): Tweak to
        initialize prop_type and prop_format unconditionally, so as not to
        depend on gdk_selection_property_get at all for this.  Use 0 for
        prop_format not given by gdk_selection_property_get.

Attachment: gdk-support.c.property-get.diff
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]