summaryrefslogtreecommitdiff
path: root/src/FbTk/GContext.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/FbTk/GContext.cc')
-rw-r--r--src/FbTk/GContext.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/FbTk/GContext.cc b/src/FbTk/GContext.cc
index ebdc178..79db31b 100644
--- a/src/FbTk/GContext.cc
+++ b/src/FbTk/GContext.cc
@@ -33,9 +33,9 @@ namespace FbTk {
33 33
34Display *GContext::m_display = 0; 34Display *GContext::m_display = 0;
35 35
36GContext::GContext(const FbTk::FbDrawable &drawable): 36GContext::GContext(const FbTk::FbDrawable &drawable):
37 m_gc(XCreateGC(drawable.display(), drawable.drawable(), 0, 0)) { 37 m_gc(XCreateGC(drawable.display(), drawable.drawable(), 0, 0)) {
38 38
39 if (m_display == 0) 39 if (m_display == 0)
40 m_display = drawable.display(); 40 m_display = drawable.display();
41 41
@@ -78,7 +78,7 @@ void GContext::copy(GC gc) {
78void GContext::copy(const GContext &gc) { 78void GContext::copy(const GContext &gc) {
79 // copy X gc 79 // copy X gc
80 copy(gc.gc()); 80 copy(gc.gc());
81 81
82 //!! TODO: copy our extended gcontext 82 //!! TODO: copy our extended gcontext
83 83
84} 84}