Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
emacs
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
emacs
emacs
Commits
4d511c40
Commit
4d511c40
authored
Apr 15, 2011
by
Paul Eggert
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* lwlib-utils.h, lwlib-utils.c (XtSafelyDestroyWidget): Remove; unused.
parent
1fbb4609
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
2 additions
and
29 deletions
+2
-29
lwlib/ChangeLog
lwlib/ChangeLog
+2
-0
lwlib/lwlib-utils.c
lwlib/lwlib-utils.c
+0
-26
lwlib/lwlib-utils.h
lwlib/lwlib-utils.h
+0
-3
No files found.
lwlib/ChangeLog
View file @
4d511c40
2011-04-16 Paul Eggert <eggert@cs.ucla.edu>
* lwlib-utils.h, lwlib-utils.c (XtSafelyDestroyWidget): Remove; unused.
* xlwmenu.c (XlwMenuSetValues): Rename/ move locals to avoid shadowing.
(MINL): Define only if not emacs.
...
...
lwlib/lwlib-utils.c
View file @
4d511c40
...
...
@@ -141,29 +141,3 @@ XtWidgetBeingDestroyedP (Widget widget)
{
return
widget
->
core
.
being_destroyed
;
}
void
XtSafelyDestroyWidget
(
Widget
widget
)
{
#if 0
/* this requires IntrinsicI.h (actually, InitialI.h) */
XtAppContext app = XtWidgetToApplicationContext(widget);
if (app->dispatch_level == 0)
{
app->dispatch_level = 1;
XtDestroyWidget (widget);
/* generates an event so that the event loop will be called */
XChangeProperty (XtDisplay (widget), XtWindow (widget),
XA_STRING, XA_STRING, 32, PropModeAppend, NULL, 0);
app->dispatch_level = 0;
}
else
XtDestroyWidget (widget);
#else
abort
();
#endif
}
lwlib/lwlib-utils.h
View file @
4d511c40
...
...
@@ -15,7 +15,4 @@ Widget *XtCompositeChildren (Widget, unsigned int *);
Boolean
XtWidgetBeingDestroyedP
(
Widget
widget
);
void
XtSafelyDestroyWidget
(
Widget
);
#endif
/* _LWLIB_UTILS_H_ */
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment