X-Git-Url: http://nitlanguage.org diff --git a/lib/gtk/v3_8.nit b/lib/gtk/v3_8.nit index 7b553fa..71d481f 100644 --- a/lib/gtk/v3_8.nit +++ b/lib/gtk/v3_8.nit @@ -14,13 +14,14 @@ # See the License for the specific language governing permissions and # limitations under the License. +# GTK+ services added at version 3.8 module v3_8 is pkgconfig("gtk+-3.0") import v3_6 redef class GtkWidget # Get the visibility of the widget, check if it's parents are visible too - fun visible: Bool is extern `{ - return gtk_widget_is_visible(recv); + fun visible: Bool `{ + return gtk_widget_is_visible(self); `} end