]> Dogcows Code - chaz/openbox/blobdiff - src/Resource.cc
save_rc() using the obResource class to save blackbox's configuration.
[chaz/openbox] / src / Resource.cc
index ec29ac9ada4d224dc86b4314687ce95f84dff75c..b360521808cc72a93b760bd86cdde179cff64487 100644 (file)
@@ -88,6 +88,10 @@ void obResource::setValue(const std::string &rname, bool value) {
     save();
 }
 
+void obResource::setValue(const std::string &rname, int value) {
+  setValue(rname, (long)value);
+}
+
 void obResource::setValue(const std::string &rname, long value) {
   assert(m_database != NULL);
   
This page took 0.022701 seconds and 4 git commands to generate.