Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2010-06

Gtk1-Gtk2 splitup.

3 messages · 3 people · –

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Marc Weustink

Hi list.

Last night the separation og gtk2 from the gtk1 widgetset became a fact and it got merged into trunk.

What does this mean.

gtk2:
During the merge of "common" gtk code into the gtk2 widgetset we might have overlooked something, so we may have introduced some bugs. If you see something strange/unexpected in the gtk2 widgetset, please report them asap.

gtk1:
It does not mean the end of the gtk1 widgetset. Eventually all gtk2 defines will get removed from it (any gtk1 volunteers are welcomed). The gtk1 widgetset will get the same status as the win32 widgetset on Win98 or WinNt, however since there isn't any shared code with gtk2 anymore, chances that we will break something when fixing gtk2 will be little. Same goes for fixing gtk1, we won't break gtk2.

Marc

Reply by email

dmitry boyarintsev
to Marc Weustink
Marc Weustink wrote
Last night the separation og gtk2 from the gtk1 widgetset became a fact and it got merged into trunk.

If you've any libraries/components with a Gtk2/Gtk1 specific code, please make sure that you don't use gtk1 for Gtk2 widgetset code.

i.e:
uses

  {$ifdef LCLGtk2}GtkInt, Gtk2Int{$endif}

Should be replaced with:
uses

  {$ifdef LCLGtk2}gtk2Int{$endif} // GtkInt is not available anymore

for Gtk2 widgetset.

thanks,
dmitry

Reply by email

Mark Morgan Lloyd
to Marc Weustink: Hi list. Last night the separation og gtk2 from the gtk1 widgetset became a fact and it…
Marc Weustink wrote 20 lines
Hi list. Last night the separation og gtk2 from the gtk1 widgetset became a fact and it got merged into trunk. What does this mean. gtk2: During the merge of "common" gtk code into the gtk2 widgetset we might have overlooked something, so we may have introduced some bugs. If you see something strange/unexpected in the gtk2 widgetset, please report them asap. gtk1: It does not mean the end of the gtk1 widgetset. Eventually all gtk2 defines will get removed from it (any gtk1 volunteers are welcomed). The gtk1 widgetset will get the same status as the win32 widgetset on Win98 or WinNt, however since there isn't any shared code with gtk2 anymore, chances that we will break something when fixing gtk2 will be little. Same goes for fixing gtk1, we won't break gtk2.

I'm compiling for v1 by default, I'll make a point of getting an SVN snapshot later and using it as far as possible.

Thanks to everybody for the effort going into this, and the usual big "thank you" to all core developers :-)

Mark Morgan Lloyd markMLl .AT. telemetry.co .DOT. uk [Opinions above are the author's, not those of his employers or colleagues]

Reply by email