glade: Drop the "plus"

From documentation and catalog description.
This commit is contained in:
Emmanuele Bassi 2019-02-05 11:26:54 +01:00
parent 25fd230327
commit f6c07a0ddb
2 changed files with 10 additions and 10 deletions

View File

@ -1,17 +1,17 @@
The catalog in this directory defines some widgets that are private
to GTK+ and is needed to edit .ui files defining composite classes
in GTK+.
to GTK and is needed to edit .ui files defining composite classes
in GTK.
In order to edit any composite classes in GTK+, startup Glade
In order to edit any composite classes in GTK, startup Glade
in the following way, example:
cd /path/to/gtk+/
cd /path/to/gtk/
GLADE_CATALOG_SEARCH_PATH=`pwd`/gtk/glade glade gtk/ui/gtkfilechooserwidget.ui
Documentation for updating this catalog can be found here:
https://developer.gnome.org/gladeui/stable/
Note also that when including private GTK+ widgets as components, it is
Note also that when including private GTK widgets as components, it is
important to call g_type_ensure () to register the type explicitly
before calling gtk_container_init_template(), otherwise GtkBuilder will
not be able to properly load the type.

View File

@ -1,11 +1,11 @@
<glade-catalog name="gtkprivate"
version="3.10"
depends="gtk+"
library="gtk-3">
version="3.96"
depends="gtk4"
library="gtk-4">
<init-function>gtk_glade_catalog_init</init-function>
<glade-widget-classes>
<!-- base GTK+ private widgets -->
<!-- base GTK private widgets -->
<glade-widget-class name="GtkPathBar" generic-name="pathbar" title="Path Bar" icon-name="widget-gtk-toolbar"/>
<glade-widget-class name="GtkColorEditor" generic-name="coloreditor" title="Color Editor" icon-name="widget-gtk-colorselection"/>
<glade-widget-class name="GtkColorSwatch" generic-name="colorswatch" title="Color Swatch" icon-name="widget-gtk-colorselection"/>
@ -22,7 +22,7 @@
</glade-widget-class>
</glade-widget-classes>
<glade-widget-group name="gtk-private" title="Private GTK+ Classes">
<glade-widget-group name="gtk-private" title="Private GTK Classes">
<glade-widget-class-ref name="GtkPathBar"/>
<glade-widget-class-ref name="GtkColorEditor"/>
<glade-widget-class-ref name="GtkColorSwatch"/>