diff options
author | fluxgen <fluxgen> | 2002-09-14 23:25:44 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-09-14 23:25:44 (GMT) |
commit | 435fc7c1ccb8ac965beb01e80070e9b1aa5976be (patch) | |
tree | 52b930d203ec3e573ab411c1dc74e422d9f2af7b | |
parent | ecf59f0372efa662d0a026c231609537e6e00891 (diff) | |
download | fluxbox_pavel-435fc7c1ccb8ac965beb01e80070e9b1aa5976be.zip fluxbox_pavel-435fc7c1ccb8ac965beb01e80070e9b1aa5976be.tar.bz2 |
using Texture setFromString
-rw-r--r-- | src/Theme.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Theme.cc b/src/Theme.cc index 39a329d..120fffb 100644 --- a/src/Theme.cc +++ b/src/Theme.cc | |||
@@ -41,7 +41,7 @@ | |||
41 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 41 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
42 | // DEALINGS IN THE SOFTWARE. | 42 | // DEALINGS IN THE SOFTWARE. |
43 | 43 | ||
44 | // $Id: Theme.cc,v 1.27 2002/09/14 16:39:16 fluxgen Exp $ | 44 | // $Id: Theme.cc,v 1.28 2002/09/14 23:25:44 fluxgen Exp $ |
45 | 45 | ||
46 | #ifndef _GNU_SOURCE | 46 | #ifndef _GNU_SOURCE |
47 | #define _GNU_SOURCE | 47 | #define _GNU_SOURCE |
@@ -748,7 +748,7 @@ bool Theme::readDatabaseTexture(char *rname, char *rclass, | |||
748 | 748 | ||
749 | if (XrmGetResource(m_database, rname, rclass, &value_type, | 749 | if (XrmGetResource(m_database, rname, rclass, &value_type, |
750 | &value)) | 750 | &value)) |
751 | m_imagecontrol->parseTexture(texture, value.addr); | 751 | texture->setFromString(value.addr); |
752 | else | 752 | else |
753 | texture->setType(FbTk::Texture::SOLID | FbTk::Texture::FLAT); | 753 | texture->setType(FbTk::Texture::SOLID | FbTk::Texture::FLAT); |
754 | 754 | ||