Merge: Annotation lateinit
[nit.git] / lib / gtk / v3_8.nit
index e3aeb0f..71d481f 100644 (file)
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-module v3_8
+# 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