Skip to content

Commit 08d0e5e

Browse files
author
Yuuki Harano
committed
comment cleanups.
1 parent d0fe489 commit 08d0e5e

File tree

2 files changed

+4
-7
lines changed

2 files changed

+4
-7
lines changed

src/pgtkfns.c

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,7 @@ x_set_background_color (struct frame *f, Lisp_Object arg, Lisp_Object oldval)
175175
error ("Unknown color");
176176
}
177177

178-
/* clear the frame; in some instances the NS-internal GC appears not to
179-
update, or it does update and cannot clear old text properly */
178+
/* clear the frame */
180179
if (FRAME_VISIBLE_P (f))
181180
pgtk_clear_frame (f);
182181

@@ -370,7 +369,6 @@ pgtk_implicitly_set_name (struct frame *f, Lisp_Object arg, Lisp_Object oldval)
370369
Lisp_Object icon_title = buffer_local_value
371370
(Qicon_title_format, XWINDOW (f->selected_window)->contents);
372371

373-
/* Deal with NS specific format t. */
374372
if (FRAME_PGTK_P (f) && ((FRAME_ICONIFIED_P (f) && EQ (icon_title, Qt))
375373
|| EQ (frame_title, Qt)))
376374
pgtk_set_name_as_filename (f);

src/pgtkterm.c

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -570,7 +570,6 @@ pgtk_new_font (struct frame *f, Lisp_Object font_object, int fontset)
570570
{
571571
PGTK_TRACE("pgtk_new_font");
572572
struct font *font = XFONT_OBJECT (font_object);
573-
// EmacsView *view = FRAME_NS_VIEW (f);
574573
int font_ascent, font_descent;
575574

576575
if (fontset < 0)
@@ -4567,7 +4566,7 @@ x_new_focus_frame (struct pgtk_display_info *dpyinfo, struct frame *frame)
45674566
static struct terminal *
45684567
pgtk_create_terminal (struct pgtk_display_info *dpyinfo)
45694568
/* --------------------------------------------------------------------------
4570-
Set up use of NS before we make the first connection.
4569+
Set up use of Gtk before we make the first connection.
45714570
-------------------------------------------------------------------------- */
45724571
{
45734572
struct terminal *terminal;
@@ -6325,7 +6324,7 @@ pgtk_delete_display (struct pgtk_display_info *dpyinfo)
63256324
char *
63266325
pgtk_xlfd_to_fontname (const char *xlfd)
63276326
/* --------------------------------------------------------------------------
6328-
Convert an X font name (XLFD) to an NS font name.
6327+
Convert an X font name (XLFD) to an Gtk font name.
63296328
Only family is used.
63306329
The string returned is temporarily allocated.
63316330
-------------------------------------------------------------------------- */
@@ -6402,7 +6401,7 @@ int pgtk_parse_color (const char *color_name, Emacs_Color *color)
64026401
int
64036402
pgtk_lisp_to_color (Lisp_Object color, Emacs_Color *col)
64046403
/* --------------------------------------------------------------------------
6405-
Convert a Lisp string object to a NS color
6404+
Convert a Lisp string object to a color
64066405
-------------------------------------------------------------------------- */
64076406
{
64086407
PGTK_TRACE("pgtk_lisp_to_color");

0 commit comments

Comments
 (0)