[Xfce4-commits] [panel-plugins/xfce4-hardware-monitor-plugin] 08/96: Further function fixes to resolve all symbols
noreply at xfce.org
noreply at xfce.org
Thu Nov 27 22:20:13 CET 2014
This is an automated email from the git hooks/post-receive script.
nick pushed a commit to branch master
in repository panel-plugins/xfce4-hardware-monitor-plugin.
commit 855d78ede3c387cbe6cbde93e5da70162016df80
Author: Omega Weapon <OmegaPhil at gmail.com>
Date: Tue Oct 22 19:13:11 2013 +0100
Further function fixes to resolve all symbols
---
src/applet.cpp | 5 +++++
src/applet.hpp | 2 +-
src/monitor.hpp | 2 +-
3 files changed, 7 insertions(+), 2 deletions(-)
diff --git a/src/applet.cpp b/src/applet.cpp
index 5fbb9e5..eacc8aa 100644
--- a/src/applet.cpp
+++ b/src/applet.cpp
@@ -450,6 +450,11 @@ const Glib::ustring Applet::get_viewer_font()
return viewer_font;
}
+void Applet::set_viewer_font(const Glib::ustring font_name)
+{
+ viewer_font = font_name;
+}
+
void Applet::add_monitor(Monitor *monitor)
{
add_sync_for(monitor);
diff --git a/src/applet.hpp b/src/applet.hpp
index 76a29d9..a5815f9 100644
--- a/src/applet.hpp
+++ b/src/applet.hpp
@@ -68,7 +68,7 @@ public:
gboolean get_use_background_color() const;
int get_viewer_size() const;
const Glib::ustring get_viewer_font();
- void set_viewer_font(Glib::ustring font_name);
+ void set_viewer_font(const Glib::ustring font_name);
Glib::RefPtr<Gdk::Pixbuf> get_icon(); // get the application icon
diff --git a/src/monitor.hpp b/src/monitor.hpp
index ea705b1..c67d846 100644
--- a/src/monitor.hpp
+++ b/src/monitor.hpp
@@ -120,6 +120,6 @@ private:
typedef std::list<Monitor *> monitor_seq;
typedef monitor_seq::iterator monitor_iter;
-monitor_seq load_monitors(const XfceRc* const settings);
+monitor_seq load_monitors(XfceRc* settings);
#endif
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Xfce4-commits
mailing list