summaryrefslogtreecommitdiff
path: root/tests/testtreechanging.c
Commit message (Collapse)AuthorAgeFilesLines
* scrolledwindow: Don't take adjustments in new()Matthias Clasen2020-06-241-1/+1
| | | | | | | In 99.9% of all cases, these are just NULL, NULL. So just do away with these arguments, people can use the setters for the rare cases where they want the scrolled window to use a different adjustment.
* Use gtk_window_set_child throughoutMatthias Clasen2020-05-041-1/+1
| | | | | Replace all uses of gtk_container_add on windows by gtk_window_set_child.
* Use gtk_scrolled_window_set_child throughoutMatthias Clasen2020-05-041-1/+1
| | | | | Replace all uses of gtk_container_add on popovers by gtk_scrolled_window_set_child.
* window: Remove type argument from gtk_window_new()Benjamin Otte2020-02-141-1/+1
|
* Stop using gtk_main and gtk_main_quitMatthias Clasen2020-02-091-2/+15
| | | | Replace these calls with direct use of GMainContext api.
* Remove gtk_widget_show_allTimm Bäder2017-01-201-1/+1
|
* Update callersMatthias Clasen2017-01-191-1/+1
| | | | Adapt all our tests and examples to the new initialization api.
* tests: Drop manual property editorMatthias Clasen2014-05-221-4/+0
| | | | No need for this anymore, now that we have the inspector everywhere.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* Use G_SOURCE_CONTINUE/REMOVEMatthias Clasen2012-01-301-1/+1
| | | | | Now that GLib provides these macros, we should use them to make the code more readable.
* tests: Add test resetting the modelBenjamin Otte2011-12-161-2/+36
| | | | | | | | We first set a NULL model and then reset the old model, just to get the effect of clearing and then resetting. We reset the cursor and selection afterwards, so the reset doesn't destroy all the work we did.
* tests: Add select/unselect callsBenjamin Otte2011-12-101-5/+46
|
* tests: Add sanity checks for selectionBenjamin Otte2011-12-101-14/+78
| | | | We want to know that the selection emits "changed" when it changes.
* tests: Dump the operation that is performed to stderrBenjamin Otte2011-12-101-1/+33
|
* tests: Make treechanging test run as fast as possibleBenjamin Otte2011-12-101-1/+1
|
* tests: Put random number into local variableBenjamin Otte2011-12-101-1/+4
| | | | | This way, we can see what function had previously been called when the checks fail.
* tests: Add automatic expanding/collapsingBenjamin Otte2011-11-291-1/+65
| | | | Makes the test test even more stuff.
* tests: Fix the iter stepping codeBenjamin Otte2011-11-291-7/+28
| | | | | | The old code actually was wrong and could cause assertions and crashes, in particular when stepping out of a deep tree back onto the highest layer.
* tests: Check that the cursor keeps up to dateBenjamin Otte2011-11-291-0/+62
| | | | | This actually demonstrates a bug where the treeview doesn't emit a cursor-changed signal when the cursor row is deleted.
* tests: Add testtreechangingBenjamin Otte2011-11-251-0/+201
It's just a treestore going crazy while the treeview has to keep up.