garrigue/lablgtk

Deprecated signals in lablgtk3 (expose & set_scroll_adjustments)

Closed this issue · 1 comments

The "expose" and "set_scroll_adjustments" signals are deprecated in GTK-3.0 but are still present in lablgtk3

One such place is GText.view class. Another, but related problem is the text view does not have the GtkScrollable interface methods, while the GtkTextView implements the above interface.

My guess is that those methods should be added to GText.view

  method hadjustment : GData.adjustment
  method vadjustment : GData.adjustment

  method set_hadjustment : GData.adjustment -> unit
  method set_vadjustment : GData.adjustment -> unit

A proof of concept patch is here with the usual disclaimer: "Works on my machine"

Looks like it was fixed in this PR: 5cc0f7e

So, unless someone intends to do more work on this, like adding scrollable abstract class from which various widget will inherit, this can be closed.