Re: GtKFileChooser, adding filter

"Lucky B.C" <[email protected]> Sat, 4 Nov 2017 22:57:52 +0700
Newsgroups gmane.comp.gnome.glade.user
Message-ID <CAMW+iSAcZGcC5COp=YCkStOm8C8=_ttSoqZY-Sev7aXqbAN6MA@mail.gmail.com>
--===============4425283570149202148==
Content-Type: multipart/alternative; boundary="001a113c3ecca97ad7055d2a48bb"

--001a113c3ecca97ad7055d2a48bb
Content-Type: text/plain; charset="UTF-8"

First can you write a demo about the problem?
Second what you explained not clear, I used the GtkFileChooser made by
Glade. Did you try to call gtk_file_chooser_remove_filter ()?



On Sat, Nov 4, 2017 at 9:09 PM, axel <[email protected]> wrote:

> Hi all,
>
> I made a FileChooser in Glade 3.8.0. I also have declared two filter in
> Glade.
> Try to add one of that filters in my c programm by
> "gtk_file_chooser_set_filter (fileselector, filter_bmp)" leads to
> "Segmentation fault".
> Adding the filter to the FileChooser in Glade works but removing and
> adding another filter in the program brings "GtKCritikal..." and does
> not work.
> What's wrong?
>
> Cheers,
> Axel
>
> _______________________________________________
> Glade-users maillist  -  [email protected]
> http://lists.dot.net/mailman/listinfo/glade-users
>

--001a113c3ecca97ad7055d2a48bb
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div>First can you write a demo about the problem? <br></d=
iv><div>Second what you explained not clear, I used the GtkFileChooser made=
 by Glade. Did you try to call <span style=3D"font-weight:normal">gtk_file_=
chooser_remove_filter=C2=A0()?</span></div>
<pre class=3D"gmail-programlisting"><span class=3D"gmail-returnvalue"><br><=
/span></pre></div><div class=3D"gmail_extra"><br><div class=3D"gmail_quote"=
>On Sat, Nov 4, 2017 at 9:09 PM, axel <span dir=3D"ltr">&lt;<a href=3D"mail=
to:[email protected]" target=3D"_blank">[email protected]</a>&gt;</=
span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8e=
x;border-left:1px #ccc solid;padding-left:1ex">Hi all,<br>
<br>
I made a FileChooser in Glade 3.8.0. I also have declared two filter in<br>
Glade.<br>
Try to add one of that filters in my c programm by<br>
&quot;gtk_file_chooser_set_filter (fileselector, filter_bmp)&quot; leads to=
<br>
&quot;Segmentation fault&quot;.<br>
Adding the filter to the FileChooser in Glade works but removing and<br>
adding another filter in the program brings &quot;GtKCritikal...&quot; and =
does<br>
not work.<br>
What&#39;s wrong?<br>
<br>
Cheers,<br>
Axel<br>
<br>
______________________________<wbr>_________________<br>
Glade-users maillist=C2=A0 -=C2=A0 <a href=3D"mailto:[email protected].=
net">[email protected]</a><br>
<a href=3D"http://lists.dot.net/mailman/listinfo/glade-users" rel=3D"norefe=
rrer" target=3D"_blank">http://lists.dot.net/mailman/<wbr>listinfo/glade-us=
ers</a><br>
</blockquote></div><br></div>

--001a113c3ecca97ad7055d2a48bb--

--===============4425283570149202148==
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: base64
Content-Disposition: inline

X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX18KR2xhZGUtdXNl
cnMgbWFpbGxpc3QgIC0gIEdsYWRlLXVzZXJzQGxpc3RzLmRvdC5uZXQKaHR0cDovL2xpc3RzLmRv
dC5uZXQvbWFpbG1hbi9saXN0aW5mby9nbGFkZS11c2Vycwo=

--===============4425283570149202148==--