diff options
author | Dmitry Antipov <dmantipov@yandex.ru> | 2013-09-17 16:59:45 +0400 |
---|---|---|
committer | Dmitry Antipov <dmantipov@yandex.ru> | 2013-09-17 16:59:45 +0400 |
commit | 2cd98812779dd3254b4956ea39d6e6338f3feb8d (patch) | |
tree | 04a5afcccb87031d4d2e38d99385ebc26a288b5b /src/frame.c | |
parent | a6c2ee1b72658db95c64e2295580508bda410f8a (diff) |
* frame.h (x_set_bitmap_icon) [!HAVE_NS]: New function.
(x_icon_type): Remove prototype.
(x_bitmap_icon) [!HAVE_NS]: Declare as such.
* frame.c (x_icon_type): Remove.
* w32term.c (x_make_frame_visible, x_iconify_frame):
* xterm.c (x_make_frame_visible, x_iconify_frame):
Use x_set_bitmap_icon to factor out common code.
Diffstat (limited to 'src/frame.c')
-rw-r--r-- | src/frame.c | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/src/frame.c b/src/frame.c index 1f2b2b9c22..365629d0f4 100644 --- a/src/frame.c +++ b/src/frame.c @@ -3381,22 +3381,6 @@ x_set_scroll_bar_width (struct frame *f, Lisp_Object arg, Lisp_Object oldval) XWINDOW (FRAME_SELECTED_WINDOW (f))->cursor.x = 0; } - - -/* Return non-nil if frame F wants a bitmap icon. */ - -Lisp_Object -x_icon_type (struct frame *f) -{ - Lisp_Object tem; - - tem = assq_no_quit (Qicon_type, f->param_alist); - if (CONSP (tem)) - return XCDR (tem); - else - return Qnil; -} - void x_set_alpha (struct frame *f, Lisp_Object arg, Lisp_Object oldval) { |