diff options
-rw-r--r-- | src/FbTk/Theme.cc | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/FbTk/Theme.cc b/src/FbTk/Theme.cc index ca80ab5..d07d361 100644 --- a/src/FbTk/Theme.cc +++ b/src/FbTk/Theme.cc | |||
@@ -19,7 +19,7 @@ | |||
19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 19 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
20 | // DEALINGS IN THE SOFTWARE. | 20 | // DEALINGS IN THE SOFTWARE. |
21 | 21 | ||
22 | // $Id: Theme.cc,v 1.3 2003/04/28 22:25:13 fluxgen Exp $ | 22 | // $Id: Theme.cc,v 1.4 2003/05/08 15:10:57 fluxgen Exp $ |
23 | 23 | ||
24 | #include "Theme.hh" | 24 | #include "Theme.hh" |
25 | 25 | ||
@@ -105,6 +105,9 @@ void ThemeItem<FbTk::Texture>::load() { | |||
105 | if (mask != 0) | 105 | if (mask != 0) |
106 | XFreePixmap(dpy, mask); | 106 | XFreePixmap(dpy, mask); |
107 | } else { // failure | 107 | } else { // failure |
108 | #ifdef DEBUG | ||
109 | cerr<<"Couldn't load pixmap: "<<pixmap_name<<endl; | ||
110 | #endif // DEBUG | ||
108 | // create empty pixmap | 111 | // create empty pixmap |
109 | m_value.pixmap() = FbTk::FbPixmap(); | 112 | m_value.pixmap() = FbTk::FbPixmap(); |
110 | } | 113 | } |