gtk+3: fix dependencies for new gnome/accessibility/at-spi2-core
[oi-userland.git] / components / desktop / gtkam / patches / 01-locale.patch
blob6f48065de2675858c9368d43e2b498e3fa6f7bd8
1 --- gtkam-1.0/src/gtkam-tree.c.~1~ 2015-08-08 11:59:03.000000000 +0000
2 +++ gtkam-1.0/src/gtkam-tree.c 2017-07-26 11:52:58.343392180 +0000
3 @@ -1472,9 +1472,10 @@
4 strcmp (model, "Directory Browse")) {
5 p = gp_port_info_list_lookup_path (il, port);
6 if (p < 0) {
7 - g_warning ("Could not find '%s' in port "
8 - "info list (%s)!", port,
9 - gp_result_as_string (p));
10 + g_warning (_("Could not find '%s' in port "
11 + "info list (%s)!"),
12 + g_locale_to_utf8 (port, -1, NULL, NULL, NULL),
13 + g_locale_to_utf8 (gp_result_as_string (p), -1, NULL, NULL, NULL));
14 gp_camera_unref (camera);
15 continue;