mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-23 14:42:29 +01:00
fixed a bug in wdread
This commit is contained in:
@@ -41,6 +41,7 @@ Changes since version 0.80.0:
|
|||||||
- Fixed segfault with incomplete WM_CLASS specifications.
|
- Fixed segfault with incomplete WM_CLASS specifications.
|
||||||
- Fixed a bug about arranging subviews in a WMBox after removing a subview
|
- Fixed a bug about arranging subviews in a WMBox after removing a subview
|
||||||
and a memleak occuring in the same situation.
|
and a memleak occuring in the same situation.
|
||||||
|
- Fixed a bug in wdread
|
||||||
|
|
||||||
|
|
||||||
Changes since version 0.70.0:
|
Changes since version 0.70.0:
|
||||||
|
|||||||
@@ -253,7 +253,6 @@ WMSetBoxHorizontal(WMBox *box, Bool flag)
|
|||||||
static void
|
static void
|
||||||
destroyBox(Box *bPtr)
|
destroyBox(Box *bPtr)
|
||||||
{
|
{
|
||||||
WMRemoveNotificationObserver(bPtr);
|
|
||||||
WMFreeArray(bPtr->subviews);
|
WMFreeArray(bPtr->subviews);
|
||||||
wfree(bPtr);
|
wfree(bPtr);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -125,7 +125,7 @@ int main(int argc, char **argv)
|
|||||||
if ((value = WMGetFromPLDictionary(dict, key)) == NULL)
|
if ((value = WMGetFromPLDictionary(dict, key)) == NULL)
|
||||||
return 2; /* bad key */
|
return 2; /* bad key */
|
||||||
|
|
||||||
printf("%s\n", WMGetFromPLString(value));
|
printf("%s\n", WMGetPropListDescription(value, True));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user