diff options
author | fluxgen <fluxgen> | 2002-05-29 19:10:04 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2002-05-29 19:10:04 (GMT) |
commit | 44a1fce815d23d410c48db4fe0e4bcdec6d74753 (patch) | |
tree | 61663d803137e4aa8e0461bf2a4a81e72c59e7ac | |
parent | c7ad3191227fa69d2b3d0e45fa09b0a876368ee7 (diff) | |
download | fluxbox-44a1fce815d23d410c48db4fe0e4bcdec6d74753.zip fluxbox-44a1fce815d23d410c48db4fe0e4bcdec6d74753.tar.bz2 |
removed assertion
-rw-r--r-- | src/Slit.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Slit.cc b/src/Slit.cc index 79e3d31..f6cc80c 100644 --- a/src/Slit.cc +++ b/src/Slit.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: Slit.cc,v 1.14 2002/05/29 06:21:59 fluxgen Exp $ | 22 | // $Id: Slit.cc,v 1.15 2002/05/29 19:10:04 fluxgen Exp $ |
23 | 23 | ||
24 | //use GNU extensions | 24 | //use GNU extensions |
25 | #ifndef _GNU_SOURCE | 25 | #ifndef _GNU_SOURCE |
@@ -54,7 +54,6 @@ | |||
54 | // Utility method for extracting name from window | 54 | // Utility method for extracting name from window |
55 | namespace { | 55 | namespace { |
56 | void getWMName(BScreen *screen, Window window, std::string& name) { | 56 | void getWMName(BScreen *screen, Window window, std::string& name) { |
57 | assert(screen); | ||
58 | name = ""; | 57 | name = ""; |
59 | 58 | ||
60 | if (screen != 0 && window != None) { | 59 | if (screen != 0 && window != None) { |
@@ -1088,7 +1087,6 @@ Slit::SlitClient::SlitClient(BScreen *screen, Window w) | |||
1088 | } | 1087 | } |
1089 | 1088 | ||
1090 | void Slit::SlitClient::initialize(BScreen *screen, Window w) { | 1089 | void Slit::SlitClient::initialize(BScreen *screen, Window w) { |
1091 | assert(screen); | ||
1092 | client_window = w; | 1090 | client_window = w; |
1093 | window = icon_window = None; | 1091 | window = icon_window = None; |
1094 | x = y = 0; | 1092 | x = y = 0; |