Re: Should a GtkFileFilter be freed or not?

2017-07-31 Thread Lars Paulsen
Hi Andrew, great. Thanks for the quick reply. Greetings, Lars Am 31.07.2017 um 13:19 schrieb A. Walton: On Mon, Jul 31, 2017 at 11:56 AM, Lars Paulsen wrote: Hello All, I got a simple question about the GtkFileFilter: Do I need to free it myself after the dialog I used it in has finished?

Re: Should a GtkFileFilter be freed or not?

2017-07-31 Thread A. Walton
On Mon, Jul 31, 2017 at 11:56 AM, Lars Paulsen wrote: > Hello All, > > I got a simple question about the GtkFileFilter: > > Do I need to free it myself after the dialog I used it in has finished? > Or is gtk_widget_destroy(dialog) doing that for me? The latter-ish. GtkFileFilter is a GInitiallyUn

Should a GtkFileFilter be freed or not?

2017-07-31 Thread Lars Paulsen
Hello All, I got a simple question about the GtkFileFilter: Do I need to free it myself after the dialog I used it in has finished? Or is gtk_widget_destroy(dialog) doing that for me? Best Regards, Lars ___ gtk-app-devel-list mailing list gtk-app-dev

Gtk+2 Clipboard - handling EOL better on paste or copy/cut?

2017-07-31 Thread David C. Rankin
All, I have a simple editor project I've been tinkering with (https://github.com/drankinatty/gtkwrite) and I've implemented EOL handling for LF, CRLF, and CR to accommodate Linux/Unix/OSX, DOS/Win, and Mac (pre-OSX). I've run into a question on implementing the EOL in text pasted from the clipbo