Kristian Rietveld
df754517dd
Decrease amount of code duplication in _remove_elt_from_level
2011-08-22 21:30:31 +02:00
Kristian Rietveld
a9fd6b7f85
Rename gtk_tree_model_filter_remove_node for internal consistency
2011-08-22 21:30:31 +02:00
Kristian Rietveld
7a82045ca8
Change signature of gtk_tree_model_filter_remove_node
2011-08-22 21:30:31 +02:00
Xavier Claessens
22adfc67e5
Add thorough unit test for bug #621076
...
Minor edits and additions by Kristian Rietveld.
2011-08-22 21:30:30 +02:00
Kristian Rietveld
a172697d47
Corrections to has-child filter tests
2011-08-22 21:30:30 +02:00
Kristian Rietveld
74764f28bc
Improve specific_has_child_filter() test to also verify signals
2011-08-22 21:30:30 +02:00
Kristian Rietveld
ebb12d5f06
Improve specific_root_has_child_filter test to also verify signals
2011-08-22 21:30:30 +02:00
Kristian Rietveld
5bd3c52c0f
Have a separate category for tests of gtk_tree_model_filter_row_deleted
2011-08-22 21:30:30 +02:00
Kristian Rietveld
3452b0493d
Add two unit tests for gtk_tree_model_filter_row_inserted
2011-08-22 21:30:30 +02:00
Kristian Rietveld
4f33f10511
Use g_assert_cmpint instead of g_assert in check_level_length()
2011-08-22 21:30:30 +02:00
Kristian Rietveld
7b3c2751ee
Refactor emitting row-inserted for new nodes to a common code path
...
Suggested by Xavier Claessens / bug 621076.
2011-08-22 21:30:30 +02:00
Kristian Rietveld
bcb00d9a43
Fix comment
2011-08-22 21:30:30 +02:00
Kristian Rietveld
f064d07bda
Factor out find_elt_with_offset
...
Suggested by Xavier Claessens / bug 621076.
2011-08-22 21:30:30 +02:00
Kristian Rietveld
60f3f92e95
Refactor to a common code path for inserts of nodes in levels
...
Suggested by Xavier Claessens / bug 621076.
(Additional obseration: this should speed up the filter model's
handling of row-inserted as a binary search is now used instead
of a linear scan).
2011-08-22 21:30:30 +02:00
Xavier Claessens
dc12c373dc
Improve error messages of signal monitor
2011-08-22 21:30:30 +02:00
Kristian Rietveld
e0f12ce020
Factor out another part of gtk_tree_model_filter_row_deleted
2011-08-22 21:30:30 +02:00
Kristian Rietveld
1686e515d6
Three more TreeModelFilter remove ancestor tests
2011-08-22 21:30:30 +02:00
Kristian Rietveld
df0fcfb940
In sort model also emit row-deleted after updating the data structures
2011-08-22 21:30:30 +02:00
Kristian Rietveld
e9c960929b
Correct GtkTreeModelFilter to never unref an already deleted child node
2011-08-22 21:30:30 +02:00
Kristian Rietveld
b27a6568b7
Improve filter model remove node unit tests
2011-08-22 21:30:29 +02:00
Kristian Rietveld
f0da89fa20
Print failed assertions for failed child iterator conversions
2011-08-22 21:30:29 +02:00
Kristian Rietveld
2f5fbcd10a
Make _get_iter invalidate iterators when FALSE is returned
2011-08-22 21:30:29 +02:00
Kristian Rietveld
431987a2fa
Add more unit tests for gtk_tree_model_filter_row_deleted()
2011-08-22 21:30:29 +02:00
Kristian Rietveld
56f83ad197
Further reduce variable shadowing by factoring code out into functions
2011-08-22 21:30:29 +02:00
Kristian Rietveld
cb8c608e49
Add unit test for bug 77977 for reference
2011-08-22 21:30:29 +02:00
Kristian Rietveld
ed603fa790
Add bug base and bug numbers to tree model unit tests
2011-08-22 21:30:29 +02:00
Kristian Rietveld
f1d791355a
Move TreeModelSort specific tests to a new sortmodel.c file
2011-08-22 21:30:29 +02:00
Kristian Rietveld
b227aa06eb
Make naming of tree model unit tests consistent
...
All test paths now start with the name of the class which is being
tested.
2011-08-22 21:30:29 +02:00
Kristian Rietveld
2cb9f03a66
Put all GtkTreeModel unit tests in a single binary
...
This to reduce linking time and have all tests in a single binary.
2011-08-22 21:30:29 +02:00
Cosimo Cecchi
a14cecb0ad
widget-factory: add the primary-toolbar hint to the toolbar
2011-08-22 11:40:41 -04:00
Chun-wei Fan
0f458f1e35
Update config.h.win32.in
...
-Only define HAVE_STRINGS_H when MSVC is not used
-Define HVE_STDINT_H for Visual C++ 2010 and later, as Visual C++ 2010
does ship with a "proper" stdint.h by default
-Add check macros HAVE_RINT and HAVE_ROUND--they are only defined when
MSVC is not used
-Remove obsolete check macros
2011-08-20 11:18:23 +08:00
Chun-wei Fan
323d24db8c
Update configure.ac to check for rint()/round()
...
Added check in configure.ac to check for the rint() and
round() functions as they are normally only available in C99
compilers.
2011-08-20 11:17:45 +08:00
Chun-wei Fan
ad73ed298d
Include C89 fallback code
...
gtk/gtkborderimage.c, gtk/gtklabel.c and gtk/gtkstyleproperty.c call
round() and/or rint(), which was only available in C99 compilers.
This adds the inclusion of the fallback implementation (gtk/fallback-c89.c)
to define these functions if they are not initially made available by the
compiler.
Also remove the rint() implementation in gtk/gtklabel.c as it is now in
the fallback implmentation.
2011-08-20 11:17:44 +08:00
Chun-wei Fan
db3fecc5b9
Add fallback implemetation for rint()/round()
...
Add an implementation for rint() and round() for compilers that do not
define one or both of them. Note that this file should be included
after config.h was included.
2011-08-20 11:17:43 +08:00
Arash Mousavi
054a625497
Updated Persian translation
2011-08-20 00:59:30 +04:30
David Zeuthen
c68eeaa966
Bug 656851 – Allow use of GVariant in GtkListStore
...
Signed-off-by: David Zeuthen <davidz@redhat.com>
2011-08-18 17:49:40 -04:00
Abduxukur Abdurixit
d539ebbf5b
Added UG translation
2011-08-19 19:57:26 +02:00
Andika Triwidada
23ebefe8e7
Updated Indonesian translation
2011-08-18 16:29:40 +07:00
Daniel Mustieles
5580fe0e1e
Updated Spanish translation
2011-08-17 01:39:00 +02:00
Matthias Clasen
e391bc442a
Use GtkFontChooser in testtoplevelembed
...
This was pointed out in bug 656639.
2011-08-16 10:42:54 -04:00
Fran Dieguez
48d60bd771
Updated Galician translations
2011-08-16 13:31:28 +02:00
Chun-wei Fan
e2397bf0da
Update VS property sheets
...
Copy the Win32-specific GDK backend headers during the "install" stage
as well, as they were missed in the install, causing trouble when
building other projects like WebKitGTK+.
Thanks to greg.hellings for pointing this out in Bug 653964.
2011-08-16 14:38:03 +08:00
Matthias Clasen
1bca4f3eb5
Post-release bump
2011-08-15 22:01:55 -04:00
Matthias Clasen
22a2867d79
3.1.12
2011-08-15 21:58:05 -04:00
A S Alam
ade913a60e
update translation for Punjabi
2011-08-16 06:59:47 +05:30
Matthias Clasen
915d32f59c
Fix up symbol lists for recent api additions
2011-08-15 21:25:58 -04:00
Matthias Clasen
8e324b38a6
Update NEWS for 3.1.12
2011-08-15 20:49:53 -04:00
Matthias Clasen
2462019449
testgtk: remove dead code
2011-08-15 19:40:24 -04:00
Matthias Clasen
8cf52c8e6c
Fix a typo
2011-08-15 19:24:59 -04:00
Matthias Clasen
6877893ed5
Make setting fontname work, independent of a screen
2011-08-15 18:57:58 -04:00