summaryrefslogtreecommitdiff
path: root/tests/testcombochange.c
Commit message (Collapse)AuthorAgeFilesLines
* tests: Stop using gtk_widget_show/hideMatthias Clasen2022-12-131-1/+1
|
* tests: Ignore deprecationsMatthias Clasen2022-10-111-0/+2
| | | | Eventually, most of these tests should be dropped.
* Replace "gint" with "int"Benjamin Otte2020-07-251-5/+5
|
* Stop setting GTK_IM_MODULE_FILEMatthias Clasen2020-06-281-9/+0
| | | | | | GTK no longer reads this environment variable, so setting it can have no benefit for uninstalled demos anymore.
* 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.
* tests: Remove gtk_dialog_run()Emmanuele Bassi2020-05-121-10/+25
| | | | | | 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-9/+9
| | | | These are all on GtkBox or enumerating children.
* tests: Update testcombochange testAlexander Mikhaylenko2020-05-111-52/+10
| | | | GtkComboBox doesn't have list mode anymore, remove that.
* Use gtk_scrolled_window_set_child throughoutMatthias Clasen2020-05-041-2/+2
| | | | | Replace all uses of gtk_container_add on popovers by gtk_scrolled_window_set_child.
* tests: Add common_cflags to buildTimm Bäder2020-03-061-2/+4
| | | | | | And fix all the errors and warnings resulting from that See #2491
* Stop using gtk_box_pack_endTimm Bäder2019-01-231-12/+12
| | | | It might soon go away!
* Replace gdk_threads_add_timeout* with g_timeout_add()Emmanuele Bassi2018-02-031-1/+1
| | | | | | | | | | | | | | | The main GDK thread lock is not portable and deprecated. The only reason why gdk_threads_add_timeout() and gdk_threads_add_timeout_full() exist is to allow invoking a callback with the GDK lock held, in case 3rd party libraries still use the deprecated gdk_threads_enter()/gdk_threads_leave() API. Since we're removing the GDK lock, and we're releasing a new major API, such code cannot exist any more; this means we can use the GLib API for installing timeout callbacks. https://bugzilla.gnome.org/show_bug.cgi?id=793124
* box: Remove fill child propertyTimm Bäder2017-04-251-12/+12
| | | | GtkWidget:halign and GtkWidget:valign are sufficient
* box: Remove expand child propertyTimm Bäder2017-04-251-12/+13
| | | | GtkWidget already has hexpand/vexpand properties.
* 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.
* cssprovider: Remove GError out argument from load functionsBenjamin Otte2016-10-171-1/+1
| | | | People should use the GtkCssProvider::parsing-error signal instead.
* API: container: Remove gtk_container_set_border_width()Benjamin Otte2016-10-161-1/+0
|
* box: Remove 'padding' child propertyTimm Bäder2016-10-161-14/+14
|
* Drop most uses of GtkMisc in testsMatthias Clasen2014-05-131-27/+8
| | | | | | | Replace them by GtkWidget h/valign. The only remaining uses are those where a size group is involved; they can't be replaced until GtkLabel stops looking at GtkMisc alignment for size allocation.
* Remove most of the stock API usage from the testsWilliam Jon McCann2013-06-241-1/+1
| | | | With the exception of GtkActions and the tests for stock items.
* Change FSF AddressJavier Jardón2012-02-271-3/+1
|
* tests: Make test_init() not check for gdk-pixbuf anymoreBenjamin Otte2011-03-291-6/+2
| | | | gdk-pixbuf is system-installed these days.
* Make tests compile without using GtkStyle apiMatthias Clasen2010-12-041-11/+16
|
* gtk: remove "gboolean homogeneous" from gtk_box_new()Michael Natterer2010-10-311-3/+3
| | | | Because it's FALSE in virtually all use cases.
* Use gtk_box_new() instead gtk_[v|h]box_new()Javier Jardón2010-10-301-3/+3
|
* Adapt tests to dialog api changeMatthias Clasen2010-09-021-1/+1
|
* Use accessor functions to access GtkDialogJavier Jardón2010-07-131-2/+5
|
* Some cleanups after the module cache file changeMatthias Clasen2010-05-181-2/+2
| | | | | | | | Bring the various 'run uninstalled' hacks in line with the new way of doing things, and fix make install for module cache files. Patch by Tadej Borovsak.
* Include "config.h" instead of <config.h> Command used: find -nameJohan Dahlin2008-06-221-1/+1
| | | | | | | | | | | | 2008-06-21 Johan Dahlin <jdahlin@async.com.br> * *.[ch]: Include "config.h" instead of <config.h> Command used: find -name \*.[ch]|xargs perl -p -i -e 's/^#include <config.h>/#include "config.h"/g' Rubberstamped by Mitch and Tim svn path=/trunk/; revision=20669
* Replace a lot of idle and timeout calls by the new gdk_threads api.Matthias Clasen2006-12-221-1/+1
| | | | | | | 2006-12-22 Matthias Clasen <mclasen@redhat.com> * *.c: Replace a lot of idle and timeout calls by the new gdk_threads api.
* Add Copyright/License information.Matthias Clasen2005-07-131-0/+20
|
* Fix many sparse warnings.Matthias Clasen2004-10-281-5/+5
|
* Fixes #136082 and #135265, patch by Morten Welinder.Federico Mena Quintero2004-03-061-0/+1
| | | | | | | | | | 2004-03-05 Federico Mena Quintero <federico@ximian.com> Fixes #136082 and #135265, patch by Morten Welinder. * configure.in: Use AC_SYS_LARGEFILE. * */*.c: #include <config.h>
* Add an animation mode, to test how the combobox behaves if the modelMatthias Clasen2004-03-021-2/+37
| | | | | | | | Wed Mar 3 00:28:59 2004 Matthias Clasen <maclas@gmx.de> * tests/testcombochange.c: Add an animation mode, to test how the combobox behaves if the model changes while it is popped up.
* gtk/gtktreestore.c (gtk_tree_store_reorder) Fix up the interpretation ofOwen Taylor2004-03-021-8/+6
| | | | | | | | | | | | | | | | | | Tue Mar 2 16:18:43 2004 Owen Taylor <otaylor@redhat.com> * gtk/gtktreestore.c (gtk_tree_store_reorder) * gtk/gtkliststore.c (gtk_list_store_reorder): Fix up the interpretation of new_order to match what it means elsewhere, document the meaning of new_order. * gtk/gtkcombobox.c (gtk_combo_box_model_rows_reordered): Fix interpretation of new_order. * tests/testcombochange.c (on_reorder): Fix interpretation of new_order. * tests/testcombochange.c (on_reorder): Fix hitting "reorder" with an empty list.
* If the model was empty before, select the first inserted item.Owen Taylor2004-03-021-0/+271
Tue Mar 2 14:38:23 2004 Owen Taylor <otaylor@redhat.com> * gtk/gtkcombobox.c (gtk_combo_box_model_row_inserted): If the model was empty before, select the first inserted item. * gtk/gtkcombobox.c (gtk_combo_box_model_row_deleted): Fix up the logic for the new row to select. * gtk/gtkcombobox.c (gtk_combo_box_class_init): Rename "appearance" property to "appears-as-list". * tests/testcombochange.c tests/Makefile.am: Test case for combos and dynamically changing models.