projects
/
platform
/
upstream
/
glib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7710c50
)
Improve coverage of icon tests
author
Matthias Clasen
<mclasen@redhat.com>
Thu, 29 Jul 2010 06:19:01 +0000
(
02:19
-0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Fri, 30 Jul 2010 23:51:20 +0000
(19:51 -0400)
gio/tests/g-icon.c
patch
|
blob
|
history
diff --git
a/gio/tests/g-icon.c
b/gio/tests/g-icon.c
index
2d88cdb
..
8efa7aa
100644
(file)
--- a/
gio/tests/g-icon.c
+++ b/
gio/tests/g-icon.c
@@
-239,9
+239,13
@@
test_themed_icon (void)
const gchar *const *names;
const gchar *names2[] = { "first", "testicon", "last", NULL };
gchar *str;
+ gboolean fallbacks;
icon1 = g_themed_icon_new ("testicon");
+ g_object_get (icon1, "use-default-fallbacks", &fallbacks, NULL);
+ g_assert (!fallbacks);
+
names = g_themed_icon_get_names (G_THEMED_ICON (icon1));
g_assert_cmpint (g_strv_length ((gchar **)names), ==, 1);
g_assert_cmpstr (names[0], ==, "testicon");