From 7a9a84b4cc5a6f2d7fce104de7ff5994cabb4ccb Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 26 Mar 2011 19:28:19 +0000 Subject: Tidy. Fix UI rule about reference events (former would cause memory leaks). --- ext/ui-gtk.lv2/ui-gtk.ttl | 42 +++++++++++++++++++----------------------- 1 file changed, 19 insertions(+), 23 deletions(-) (limited to 'ext/ui-gtk.lv2/ui-gtk.ttl') diff --git a/ext/ui-gtk.lv2/ui-gtk.ttl b/ext/ui-gtk.lv2/ui-gtk.ttl index 8b410b8..ce77cba 100644 --- a/ext/ui-gtk.lv2/ui-gtk.ttl +++ b/ext/ui-gtk.lv2/ui-gtk.ttl @@ -3,7 +3,7 @@ # Copyright (C) 2010-2011 Lars Luthman # # based on lv2.ttl, which is -# Copyright (C) 2006-2008 Steve Harris, Dave Robillard +# Copyright (C) 2006-2008 Steve Harris, David Robillard # # Permission is hereby granted, free of charge, to any person obtaining a # copy of this software and associated documentation files (the "Software"), @@ -23,13 +23,13 @@ # ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR # OTHER DEALINGS IN THE SOFTWARE. -@prefix ui-gtk: . -@prefix ui: . -@prefix lv2: . -@prefix rdf: . -@prefix rdfs: . -@prefix doap: . -@prefix foaf: . +@prefix ui-gtk: . +@prefix ui: . +@prefix lv2: . +@prefix rdf: . +@prefix rdfs: . +@prefix doap: . +@prefix foaf: . a lv2:Specification ; doap:license ; @@ -49,34 +49,30 @@ used in a Gtk+ program. """. ui-gtk:GtkUI a rdfs:Class; - rdfs:subClassOf ui:UI; + rdfs:subClassOf ui:UI; rdfs:label "Gtk+ UI"; lv2:documentation """

The class which represents a Gtk+ UI. For a successfully created instance of -an UI of this class, the get_widget() function MUST return a pointer to a -valid GtkWidget object compatible with Gtk+ version 2.0. The host MUST ensure -that the Gtk+ library has been initialised and that the Glib main loop is -running before an UI of this type is instantiated. -

+an UI of this class, the get_widget() function MUST return a pointer to a valid +GtkWidget object compatible with Gtk+ version 2.0. The host MUST ensure that +the Gtk+ library has been initialised and that the Glib main loop is running +before an UI of this type is instantiated.

Unless otherwise specified by extensions, all function pointers in -LV2_UI_Descriptor may only be called from the thread that runs the Glib -main loop. -

""" . +LV2_UI_Descriptor may only be called from the thread that runs the Glib main +loop.

+""" . ui-gtk:noHostResize a lv2:Feature; rdfs:label "No host resize"; lv2:documentation """ -

This Feature should only be used with UIs. -

+

This Feature should only be used with UIs.

When this Feature is active the host SHOULD NOT resize the UI widget to any other size than the one given by gtk_widget_size_request(). However, the UI MUST NOT break if the widget is resized to another size. This Feature can be -used for example when the widget uses a fixed-size pixmap interface. -

+used for example when the widget uses a fixed-size pixmap interface.

The data pointer in the LV2_Feature object for this Feature should be set to -NULL. -

+NULL.

""". -- cgit v1.2.1