summaryrefslogtreecommitdiff
path: root/testsuite/gtk/builder.c
Commit message (Collapse)AuthorAgeFilesLines
* Drop deprecated gtk_dialog_get_action_areaMatthias Clasen2016-11-191-6/+1
| | | | | Add an internal version for the few places where we still need it, and drop it from everywhere else.
* iconset: Remove stray referencesRico Tzschichholz2016-10-231-10/+0
|
* Remove GtkActionTimm Bäder2016-10-181-5/+0
|
* Remove GtkActionGroupTimm Bäder2016-10-181-26/+0
|
* Fix unittestsTimm Bäder2016-10-181-53/+4
|
* Remove GtkUIManagerTimm Bäder2016-10-181-78/+2
|
* Remove GtkToggleActionTimm Bäder2016-10-181-1/+0
|
* Remove GtkAlignmentTimm Bäder2016-10-181-1/+0
|
* testsuite/gtk: Use a GtkMenuButton to test exposing objectsTimm Bäder2016-10-181-7/+7
|
* Remove GtkTableTimm Bäder2016-10-181-1/+0
|
* API: container: Remove gtk_container_set_border_width()Benjamin Otte2016-10-161-5/+0
|
* Remove GtkIconFactoryTimm Bäder2016-10-161-70/+1
| | | | Move the icon size lookup API into gtkicontheme.c
* Remove various deprecated GtkOrientable subclassesTimm Bäder2016-10-161-28/+30
|
* Remove GtkImageMenuItemTimm Bäder2016-10-161-32/+3
|
* Remove GtkArrowTimm Bäder2016-10-161-1/+0
|
* Remove GtkStock API from GtkImageTimm Bäder2016-10-161-7/+3
|
* Remove GtkHBoxTimm Bäder2016-10-161-4/+5
|
* Adjust testsMatthias Clasen2015-04-301-1/+1
|
* Adjust builder testsMatthias Clasen2015-04-271-121/+26
| | | | | Some errors are now returned as markup errors instead of builder errors. Adjust the tests for this.
* Add a test for builder-constructed file filtersMatthias Clasen2015-03-081-0/+43
|
* Add tests for parsing int64/uin64 in GtkBuilderMatthias Clasen2014-08-211-0/+10
| | | | This tests the fix in the previous commit.
* builder test: Adjust expectionsMatthias Clasen2014-07-091-1/+2
| | | | | Dialogs no longer set a headerbar as titlebar unless use-header-bar is set to 1. Update the test to do that.
* Add a failing builder testcaseMatthias Clasen2014-05-301-0/+55
| | | | | This shows <signal> failing because class_init hasn't been run yet.
* GtkBuilder: improved parsing error report for invalid properties and signals.Juan Pablo Ugarte2014-05-011-0/+14
| | | | | | | | | | | | | Added GTK_BUILDER_ERROR_INVALID_PROPERTY and GTK_BUILDER_ERROR_INVALID_SIGNAL error codes ObjectInfo: Use a GType instead of a char * for the class name. PropertyInfo: Use a GParamSpec instead of a char * for the property name. SignalInfo: Use signal id and detail quark instead of a detailed signal name string. This not only save us a few malloc in each case but lets us simplify the code and report unknown properties and signals as a parsing error instead of just printing a warning.
* Added template test case to builder test.Juan Pablo Ugarte2014-04-291-0/+72
|
* Added bindings support to GtkBuilder by introducing 3 new <property> ↵Juan Pablo Ugarte2014-04-181-0/+57
| | | | | | | | | | | | | | attributes "bind-source" to specify the source object of the binding "bind-property" to specify the source property and "bind-flags" to specify the binding flags (optional) Binding an object sensitive property with a check button active property will look like this: <object class="GtkButton" id="button"> <property name="sensitive" bind-source="checkbutton" bind-property="active"/> </object> This is based on the original work done by Denis Washington for his GSoC project This closes Bug 654417 "[GSoC] Add <binding> element to GtkBuilder syntax"
* Fix up builder testMatthias Clasen2014-03-031-1/+1
| | | | | Dialogs now report two children. Thats alright, adapt the test to deal with it.
* Update all internal users of gtk_dialog_get_action_areaMatthias Clasen2014-01-171-0/+2
| | | | | Some of these should be revisited and fixed. For now, just avoid the deprecation warnings.
* fix prototypes of signal callbacks in the test suiteSteve Langasek2014-01-081-16/+16
| | | | | | | | | | The signal callbacks are defined to take pointers as their arguments, but the callbacks found in testsuite/gtk/builder.c are passing a GParamSpec by value as the second argument. This confuses and angers the compiler on ppc64el, resulting in segfaults after return from the function due to stack-smashing by the (completely-unused) argument. https://bugzilla.gnome.org/show_bug.cgi?id=721700
* GtkBuilder: Make IDs optionalMatthias Clasen2013-11-181-0/+48
| | | | | | | | | | | | | | | | One requirement of .ui files is that each object must have an ID, even if it is never referred to or directly loaded from the code. This makes editing .ui files much more onerous than it has to be, due to the frequent need to invent new IDs, while avoiding clashes. This commit makes IDs optional in the XML. They only need to be provided for objects which are referred to or explictly loaded from the code. Since GtkBuilder needs IDs for its own internal accounting, we create IDs of the form ___object_N___ if not specified in the XML. https://bugzilla.gnome.org/show_bug.cgi?id=712553
* Remove assertions that are no longer trueMatthias Clasen2013-08-031-2/+0
| | | | | The GtkBuilder infobar tests were asserting facts about the internal structure of the widget that are no longer true.
* Deprecate GtkAction and GtkUIManagerWilliam Jon McCann2013-06-301-0/+2
| | | | It is recommended to use GAction et al and GtkBuilder.
* Deprecate GtkIconFactory, GtkIconSet, GtkIconSourceWilliam Jon McCann2013-06-261-1/+4
| | | | | We want to use GtkIconTheme instead. It is worth noting that the parts that remain undeprecated are GtkIconSize and gtk_icon_size_lookup.
* testsuite: Ignore deprecation warningsBenjamin Otte2013-06-261-0/+4
|
* Fix a small memory leakMatthias Clasen2013-06-151-4/+4
|
* build: Move gtk/tests to testsuite/gtkBenjamin Otte2013-05-151-0/+2776