/[packages]/cauldron/gnote/current/SOURCES/gnote-0.8.0-fix-str-fmt.patch
ViewVC logotype

Contents of /cauldron/gnote/current/SOURCES/gnote-0.8.0-fix-str-fmt.patch

Parent Directory Parent Directory | Revision Log Revision Log


Revision 147610 - (show annotations) (download)
Sun Sep 25 03:09:44 2011 UTC (10 years ago) by fwang
File size: 886 byte(s)
fix str fmt
1 --- gnote-0.8.0/src/remotecontrolproxy.cpp.str 2011-09-25 11:06:45.608678184 +0800
2 +++ gnote-0.8.0/src/remotecontrolproxy.cpp 2011-09-25 11:07:55.658672949 +0800
3 @@ -126,7 +126,7 @@
4 s_gnote_interface = node->lookup_interface(GNOTE_INTERFACE_NAME);
5 }
6 catch(Glib::Error & e) {
7 - ERR_OUT(("Failed to load interface: " + e.what()).c_str());
8 + ERR_OUT("%s",("Failed to load interface: " + e.what()).c_str());
9 }
10 }
11
12 --- gnote-0.8.0/src/dbus/remotecontrol-client-glue.cpp.str 2011-09-25 11:08:11.296801024 +0800
13 +++ gnote-0.8.0/src/dbus/remotecontrol-client-glue.cpp 2011-09-25 11:08:22.238677927 +0800
14 @@ -133,7 +133,7 @@
15 return call_sync(method_name, parameters);
16 }
17 catch(...) {
18 - ERR_OUT(("Remote call failed: " + method_name).c_str());
19 + ERR_OUT("%s", ("Remote call failed: " + method_name).c_str());
20 return Glib::VariantContainerBase();
21 }
22 }

  ViewVC Help
Powered by ViewVC 1.1.28