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
d4ad8c04
Commit
d4ad8c04
authored
Nov 22, 2007
by
Jan Djärv
Browse files
(update_frame_tool_bar): Don't call x-gtk-map-stock if
file for image is nil.
parent
d2ea6863
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
src/ChangeLog
src/ChangeLog
+5
-0
src/gtkutil.c
src/gtkutil.c
+4
-2
No files found.
src/ChangeLog
View file @
d4ad8c04
2007-11-22 Jan Dj,Ad(Brv <jan.h.d@swipnet.se>
* gtkutil.c (update_frame_tool_bar): Don't call x-gtk-map-stock if
file for image is nil.
2007-11-22 Dan Nicolaescu <dann@ics.uci.edu>
* term.c: Include stdarg.h.
...
...
src/gtkutil.c
View file @
d4ad8c04
...
...
@@ -3821,6 +3821,7 @@ update_frame_tool_bar (f)
GtkWidget
*
wbutton
=
NULL
;
GtkWidget
*
weventbox
;
Lisp_Object
func
=
intern
(
"x-gtk-map-stock"
);
Lisp_Object
specified_file
;
ti
=
gtk_toolbar_get_nth_item
(
GTK_TOOLBAR
(
x
->
toolbar_widget
),
i
);
...
...
@@ -3839,8 +3840,9 @@ update_frame_tool_bar (f)
continue
;
}
if
(
EQ
(
Qt
,
Ffboundp
(
func
)))
stock
=
call1
(
func
,
file_for_image
(
image
));
specified_file
=
file_for_image
(
image
);
if
(
!
NILP
(
specified_file
)
&&
EQ
(
Qt
,
Ffboundp
(
func
)))
stock
=
call1
(
func
,
specified_file
);
if
(
!
NILP
(
stock
)
&&
STRINGP
(
stock
))
{
...
...
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