mirror of
https://gitlab.com/virt-viewer/virt-viewer.git
synced 2025-03-21 22:50:10 +03:00
src: add missing COMMON_CFLAGS to libvirt_viewer_util.la
This ensures that G_LOG_DOMAIN is used in all places, and in turns highlights a bug in the test suite. Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
0dab000823
commit
45dd26ece2
@ -153,6 +153,7 @@ libvirt_viewer_util_la_LIBADD = \
|
||||
|
||||
libvirt_viewer_util_la_CFLAGS = \
|
||||
-DLOCALE_DIR=\""$(datadir)/locale"\" \
|
||||
$(COMMON_CFLAGS) \
|
||||
$(GLIB2_CFLAGS) \
|
||||
$(GTK_CFLAGS) \
|
||||
$(LIBXML2_CFLAGS) \
|
||||
|
@ -65,7 +65,7 @@ test_monitor_align(MonitorAlignFunc monitor_align, const TestCase *test_cases, c
|
||||
g_hash_table_insert(displays, GUINT_TO_POINTER(j), displays_in[j]);
|
||||
}
|
||||
for (j = 0; j < G_N_ELEMENTS(test_cases[i].messages) && test_cases[i].messages[j]; j++) {
|
||||
g_test_expect_message(NULL, test_cases[i].log_level, test_cases[i].messages[j]);
|
||||
g_test_expect_message(G_LOG_DOMAIN, test_cases[i].log_level, test_cases[i].messages[j]);
|
||||
}
|
||||
monitor_align(displays);
|
||||
g_test_assert_expected_messages();
|
||||
|
Loading…
x
Reference in New Issue
Block a user