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
Open sidebar
emacs
emacs
Commits
473a99b7
Commit
473a99b7
authored
Nov 14, 2009
by
Jan Djärv
Browse files
gtkutil.c (xg_update_frame_menubar): Do nothing if menubar already has a parent.
parent
e7791447
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
src/ChangeLog
src/ChangeLog
+3
-0
src/gtkutil.c
src/gtkutil.c
+3
-0
No files found.
src/ChangeLog
View file @
473a99b7
2009-11-14 Jan Djärv <jan.h.d@swipnet.se>
* gtkutil.c (xg_update_frame_menubar): Do nothing if menubar already
has a parent.
* Makefile.in: If AUTO_DEPEND is defined, make gcc generate
dependency files in deps/. Include those files into Makefile.
...
...
src/gtkutil.c
View file @
473a99b7
...
...
@@ -3001,6 +3001,9 @@ xg_update_frame_menubar (f)
if
(
!
x
->
menubar_widget
||
GTK_WIDGET_MAPPED
(
x
->
menubar_widget
))
return
0
;
if
(
x
->
menubar_widget
&&
gtk_widget_get_parent
(
x
->
menubar_widget
))
return
0
;
/* Already done this, happens for frames created invisible. */
BLOCK_INPUT
;
gtk_box_pack_start
(
GTK_BOX
(
x
->
vbox_widget
),
x
->
menubar_widget
,
...
...
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