summaryrefslogtreecommitdiff
path: root/tests/testdialog.c
Commit message (Collapse)AuthorAgeFilesLines
* Deprecate GtkColorChooser and implementationsMatthias Clasen2022-10-291-0/+2
| | | | | | | | | | These are being replaced by GtkColorDialog and GtkColorDialogButton. This commit only moves the headers for GtkColorChooserWidget and GtkColorChooserDialog to deprecated/, and keeps the implementations in gtk/, since they will eventually be salvaged into a private GtkColorChooserWindow.
* Replace "gchar" with "char"Benjamin Otte2020-07-251-2/+2
|
* tests: Remove gtk_dialog_run()Emmanuele Bassi2020-05-121-35/+26
| | | | | | Either use the "response" signal for dialogs that are already modal, or use an explicit nested loop for tests that rely on the response id being available in sequence.
* Replace most remaining uses of container apiMatthias Clasen2020-05-111-17/+17
| | | | These are all on GtkBox or enumerating children.
* Use gtk_window_destroyMatthias Clasen2020-05-111-13/+13
| | | | | Replace calls to gtk_widget_destroy on windows with gtk_window_destroy.
* tests: Stop explicitly showing widgetsAlexander Mikhaylenko2020-05-111-19/+0
|
* tests: Remove redundant image from testdialogAlexander Mikhaylenko2020-05-111-4/+0
|
* tests: Fix testdialogtestAlexander Mikhaylenko2020-05-111-2/+3
| | | | Fix deprecations in UI files, add a missing expand.
* 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.
* tests: Add common_cflags to buildTimm Bäder2020-03-061-0/+2
| | | | | | And fix all the errors and warnings resulting from that See #2491
* Drop the margin propertyMatthias Clasen2020-02-251-1/+4
| | | | Replace it with margin-start, -end, -top, -bottom throughout.
* 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-1/+2
| | | | Replace these calls with direct use of GMainContext api.
* image: Remove icon-size argument from icon settersMatthias Clasen2017-11-151-1/+1
| | | | | | | | Instead, add a function gtk_image_set_icon_size() for the cases where overriding the icon size is necessary. Treat icon sizes the same way as pixel sizes, too. So gtk_image_clear() no longer unsets the icon size.
* meson: tests: make tests find resources from the source dirTim-Philipp Müller2017-05-031-0/+5
| | | | | Should probably also do this in the autotools build, since the same problem exists there as well if we use srcdir != builddir.
* Update callersMatthias Clasen2017-01-191-1/+1
| | | | Adapt all our tests and examples to the new initialization api.
* messagedialog: Remove deprecated APITimm Bäder2016-10-181-4/+0
|
* testdialog: Error out if templates are missingMatthias Clasen2015-07-171-2/+6
| | | | | Coverity complained about us ignoring the return value here, and it is nicer to get an error message about this.
* Add another dialog to testMatthias Clasen2014-07-171-0/+21
| | | | | This one is taken from polari, and currently doesn't work as expected.
* testdialog: Add a spinnerMatthias Clasen2014-06-291-0/+6
| | | | | Trying to track down a problem where animation stops when a modal dialog is opened and closed.
* Add missing templates to testdialogMatthias Clasen2014-04-251-2/+0
| | | | | | | This makes the template test cases not crash. The templates also serve to test the new action widget support. https://bugzilla.gnome.org/show_bug.cgi?id=728846
* tests: Add deprecation guardsBenjamin Otte2014-04-101-0/+2
|
* Add at testcase for a message dialog with iconMatthias Clasen2014-03-181-0/+28
| | | | | Icons in message dialogs may be deprecated, but we still need to place them properly, so add a testcase.
* testdialogs: Add message dialog examplesMatthias Clasen2014-03-031-0/+53
| | | | | Related to https://bugzilla.gnome.org/show_bug.cgi?id=723668
* Add a testcase for various dialog headerbar scenariosMatthias Clasen2014-02-021-0/+314