310fc7eeb7
* Still build MATE against gtk+ 2 due to gtk+ 3 support not ready for prime time. * Fix loading of a number of applets. We rename a number of applets but didn't change the "config" files the "add applet to panel" dialog uses. [1] * Unbreak the creation of new notes with the stickynotes applet [2] PR: 205391 [1], 200349 [2] Obtained from: GNOME devel repo
14 lines
467 B
C++
14 lines
467 B
C++
--- src/lsof.cpp.orig 2015-09-25 13:36:19.000000000 +0200
|
|
+++ src/lsof.cpp 2016-01-09 12:32:53.892273000 +0100
|
|
@@ -140,8 +140,9 @@
|
|
|
|
void update_count(unsigned count)
|
|
{
|
|
- string s = static_cast<std::ostringstream&>(std::ostringstream() << count).str();
|
|
- gtk_label_set_text(this->count, s.c_str());
|
|
+ std::ostringstream ss;
|
|
+ ss << count;;
|
|
+ gtk_label_set_text(this->count, ss.str().c_str());
|
|
}
|
|
|
|
|