summaryrefslogtreecommitdiff
path: root/src/gtkutil.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2013-01-14 09:46:14 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2013-01-14 09:46:14 -0800
commitc50cf2eac4b18e38bef5b6e58827cc2bce1e98f4 (patch)
tree56685b68573608bf284b55d0996cc471fda34366 /src/gtkutil.c
parent57dd9e68862eeb452388b07c855a8112c3a7b22f (diff)
downloademacs-c50cf2eac4b18e38bef5b6e58827cc2bce1e98f4.tar.gz
Avoid needless casts with XSAVE_POINTER.
* alloc.c (mark_object) [GC_MARK_STACK]: * dired.c (directory_files_internal_unwind): * fileio.c (do_auto_save_unwind): * gtkutil.c (pop_down_dialog): * keymap.c (map_keymap_char_table_item): * lread.c (load_unwind): * nsmenu.m (pop_down_menu): * print.c (print_object) [GC_MARK_STACK]: * xfns.c (clean_up_file_dialog): * xmenu.c (cleanup_widget_value_tree): Omit casts between XSAVE_POINTER and a pointer type.
Diffstat (limited to 'src/gtkutil.c')
-rw-r--r--src/gtkutil.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c
index 3b1bbc73cff..259e0e971fd 100644
--- a/src/gtkutil.c
+++ b/src/gtkutil.c
@@ -1650,7 +1650,7 @@ xg_dialog_response_cb (GtkDialog *w,
static Lisp_Object
pop_down_dialog (Lisp_Object arg)
{
- struct xg_dialog_data *dd = (struct xg_dialog_data *) XSAVE_POINTER (arg);
+ struct xg_dialog_data *dd = XSAVE_POINTER (arg);
block_input ();
if (dd->w) gtk_widget_destroy (dd->w);