Mercurial > dwindows
annotate org.dbsoft.dwindows.dwtest.desktop.in @ 2660:650f8b062317
GTK: Check the Connection ID is positive non-zero before removing.
The connection ID will be zero under two conditions:
1) The GTK signal handler failed to be created or
2) The Dynamic Windows handler uses an existing GTK handler
Therefore we don't want to ASSERT when removing a DW handler when it uses an
existing GTK handler. So check and warn if the CID is invalid at creation
time, and skip invalid CIDs at removal time.
Thanks Mark for pointing out this misbehavior.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 02 Oct 2021 19:30:39 +0000 |
parents | e6d212a978fe |
children |
rev | line source |
---|---|
2110
e6d212a978fe
GTK: Added the wrong file in that last commit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
1 |
e6d212a978fe
GTK: Added the wrong file in that last commit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
2 [Desktop Entry] |
e6d212a978fe
GTK: Added the wrong file in that last commit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
3 Name=Dynamic Windows Test |
e6d212a978fe
GTK: Added the wrong file in that last commit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
4 Exec=@prefix@/bin/dwtest |
e6d212a978fe
GTK: Added the wrong file in that last commit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
5 Terminal=false |
e6d212a978fe
GTK: Added the wrong file in that last commit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
6 MultipleArgs=false |
e6d212a978fe
GTK: Added the wrong file in that last commit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
7 Type=Application |
e6d212a978fe
GTK: Added the wrong file in that last commit.
bsmith@81767d24-ef19-dc11-ae90-00e081727c95
parents:
diff
changeset
|
8 Categories=Application;Development;X-Red-Hat-Base; |