diff options
| author | Yuuki Harano | 2021-11-30 00:07:18 +0900 |
|---|---|---|
| committer | Yuuki Harano | 2021-11-30 00:07:18 +0900 |
| commit | 3b8e122bc7afc0830c6bb353e81a0face0d10746 (patch) | |
| tree | 1d77d9272250027a50e44230e5e7feedff0be42d /src | |
| parent | 901938109f7b5574e97e787bee10441086680de8 (diff) | |
| download | emacs-3b8e122bc7afc0830c6bb353e81a0face0d10746.tar.gz emacs-3b8e122bc7afc0830c6bb353e81a0face0d10746.zip | |
Use /* */ comment style instead of //
* src/gtkutil.c (xg_create_frame_widgets):
* src/pgtkfns.c (Fx_create_frame):
(frame_geometry):
* src/pgtkterm.c (pgtk_mouse_position):
(pgtk_redisplay_interface):
(pgtk_clear_frame):
(pgtk_create_terminal):
(struct pgtk_window_is_of_frame_recursive_t):
(key_press_event):
(syms_of_pgtkterm):
Diffstat (limited to 'src')
| -rw-r--r-- | src/gtkutil.c | 2 | ||||
| -rw-r--r-- | src/pgtkfns.c | 4 | ||||
| -rw-r--r-- | src/pgtkterm.c | 22 |
3 files changed, 14 insertions, 14 deletions
diff --git a/src/gtkutil.c b/src/gtkutil.c index d4823f813bc..d15caf044f8 100644 --- a/src/gtkutil.c +++ b/src/gtkutil.c | |||
| @@ -1407,7 +1407,7 @@ xg_create_frame_widgets (struct frame *f) | |||
| 1407 | 1407 | ||
| 1408 | block_input (); | 1408 | block_input (); |
| 1409 | 1409 | ||
| 1410 | #ifndef HAVE_PGTK // gtk_plug not found. | 1410 | #ifndef HAVE_PGTK /* gtk_plug not found. */ |
| 1411 | if (FRAME_X_EMBEDDED_P (f)) | 1411 | if (FRAME_X_EMBEDDED_P (f)) |
| 1412 | { | 1412 | { |
| 1413 | GdkDisplay *gdpy = gdk_x11_lookup_xdisplay (FRAME_X_DISPLAY (f)); | 1413 | GdkDisplay *gdpy = gdk_x11_lookup_xdisplay (FRAME_X_DISPLAY (f)); |
diff --git a/src/pgtkfns.c b/src/pgtkfns.c index 339d6dd45ae..afcb44f1223 100644 --- a/src/pgtkfns.c +++ b/src/pgtkfns.c | |||
| @@ -1602,7 +1602,7 @@ This function is an internal primitive--use `make-frame' instead. */ ) | |||
| 1602 | #endif | 1602 | #endif |
| 1603 | 1603 | ||
| 1604 | /* Create the X widget or window. */ | 1604 | /* Create the X widget or window. */ |
| 1605 | // x_window (f); | 1605 | /* x_window (f); */ |
| 1606 | xg_create_frame_widgets (f); | 1606 | xg_create_frame_widgets (f); |
| 1607 | pgtk_set_event_handler (f); | 1607 | pgtk_set_event_handler (f); |
| 1608 | 1608 | ||
| @@ -3591,7 +3591,7 @@ frame_geometry (Lisp_Object frame, Lisp_Object attribute) | |||
| 3591 | tab_bar_height = FRAME_TAB_BAR_HEIGHT (f); | 3591 | tab_bar_height = FRAME_TAB_BAR_HEIGHT (f); |
| 3592 | tab_bar_width = (tab_bar_height | 3592 | tab_bar_width = (tab_bar_height |
| 3593 | ? native_width - 2 * internal_border_width : 0); | 3593 | ? native_width - 2 * internal_border_width : 0); |
| 3594 | // inner_top += tab_bar_height; | 3594 | /* inner_top += tab_bar_height; */ |
| 3595 | 3595 | ||
| 3596 | /* Construct list. */ | 3596 | /* Construct list. */ |
| 3597 | if (EQ (attribute, Qouter_edges)) | 3597 | if (EQ (attribute, Qouter_edges)) |
diff --git a/src/pgtkterm.c b/src/pgtkterm.c index 0c286ca1510..d6103d4f151 100644 --- a/src/pgtkterm.c +++ b/src/pgtkterm.c | |||
| @@ -3218,7 +3218,7 @@ pgtk_mouse_position (struct frame **fp, int insist, Lisp_Object * bar_window, | |||
| 3218 | f1 = pgtk_any_window_to_frame (win); | 3218 | f1 = pgtk_any_window_to_frame (win); |
| 3219 | else | 3219 | else |
| 3220 | { | 3220 | { |
| 3221 | // crossing display server? | 3221 | /* crossing display server? */ |
| 3222 | f1 = SELECTED_FRAME (); | 3222 | f1 = SELECTED_FRAME (); |
| 3223 | } | 3223 | } |
| 3224 | } | 3224 | } |
| @@ -3488,8 +3488,8 @@ static struct redisplay_interface pgtk_redisplay_interface = { | |||
| 3488 | gui_clear_end_of_line, | 3488 | gui_clear_end_of_line, |
| 3489 | pgtk_scroll_run, | 3489 | pgtk_scroll_run, |
| 3490 | pgtk_after_update_window_line, | 3490 | pgtk_after_update_window_line, |
| 3491 | NULL, // gui_update_window_begin, | 3491 | NULL, /* gui_update_window_begin, */ |
| 3492 | NULL, // gui_update_window_end, | 3492 | NULL, /* gui_update_window_end, */ |
| 3493 | pgtk_flush_display, | 3493 | pgtk_flush_display, |
| 3494 | gui_clear_window_mouse_face, | 3494 | gui_clear_window_mouse_face, |
| 3495 | gui_get_glyph_overhangs, | 3495 | gui_get_glyph_overhangs, |
| @@ -3505,7 +3505,7 @@ static struct redisplay_interface pgtk_redisplay_interface = { | |||
| 3505 | pgtk_draw_window_cursor, | 3505 | pgtk_draw_window_cursor, |
| 3506 | pgtk_draw_vertical_window_border, | 3506 | pgtk_draw_vertical_window_border, |
| 3507 | pgtk_draw_window_divider, | 3507 | pgtk_draw_window_divider, |
| 3508 | NULL, // pgtk_shift_glyphs_for_insert, | 3508 | NULL, /* pgtk_shift_glyphs_for_insert, */ |
| 3509 | pgtk_show_hourglass, | 3509 | pgtk_show_hourglass, |
| 3510 | pgtk_hide_hourglass, | 3510 | pgtk_hide_hourglass, |
| 3511 | pgtk_default_font_parameter, | 3511 | pgtk_default_font_parameter, |
| @@ -3527,7 +3527,7 @@ pgtk_clear_frame (struct frame *f) | |||
| 3527 | if (!FRAME_DEFAULT_FACE (f)) | 3527 | if (!FRAME_DEFAULT_FACE (f)) |
| 3528 | return; | 3528 | return; |
| 3529 | 3529 | ||
| 3530 | // mark_window_cursors_off (XWINDOW (FRAME_ROOT_WINDOW (f))); | 3530 | /* mark_window_cursors_off (XWINDOW (FRAME_ROOT_WINDOW (f))); */ |
| 3531 | 3531 | ||
| 3532 | block_input (); | 3532 | block_input (); |
| 3533 | 3533 | ||
| @@ -4794,10 +4794,10 @@ pgtk_create_terminal (struct pgtk_display_info *dpyinfo) | |||
| 4794 | terminal->update_begin_hook = pgtk_update_begin; | 4794 | terminal->update_begin_hook = pgtk_update_begin; |
| 4795 | terminal->update_end_hook = pgtk_update_end; | 4795 | terminal->update_end_hook = pgtk_update_end; |
| 4796 | terminal->read_socket_hook = pgtk_read_socket; | 4796 | terminal->read_socket_hook = pgtk_read_socket; |
| 4797 | // terminal->frame_up_to_date_hook = pgtk_frame_up_to_date; | 4797 | /* terminal->frame_up_to_date_hook = pgtk_frame_up_to_date; */ |
| 4798 | terminal->mouse_position_hook = pgtk_mouse_position; | 4798 | terminal->mouse_position_hook = pgtk_mouse_position; |
| 4799 | terminal->frame_rehighlight_hook = XTframe_rehighlight; | 4799 | terminal->frame_rehighlight_hook = XTframe_rehighlight; |
| 4800 | // terminal->frame_raise_lower_hook = pgtk_frame_raise_lower; | 4800 | /* terminal->frame_raise_lower_hook = pgtk_frame_raise_lower; */ |
| 4801 | terminal->frame_visible_invisible_hook = pgtk_make_frame_visible_invisible; | 4801 | terminal->frame_visible_invisible_hook = pgtk_make_frame_visible_invisible; |
| 4802 | terminal->fullscreen_hook = pgtk_fullscreen_hook; | 4802 | terminal->fullscreen_hook = pgtk_fullscreen_hook; |
| 4803 | terminal->menu_show_hook = pgtk_menu_show; | 4803 | terminal->menu_show_hook = pgtk_menu_show; |
| @@ -4838,7 +4838,7 @@ struct pgtk_window_is_of_frame_recursive_t | |||
| 4838 | { | 4838 | { |
| 4839 | GdkWindow *window; | 4839 | GdkWindow *window; |
| 4840 | bool result; | 4840 | bool result; |
| 4841 | GtkWidget *emacs_gtk_fixed; // stop on emacsgtkfixed other than this. | 4841 | GtkWidget *emacs_gtk_fixed; /* stop on emacsgtkfixed other than this. */ |
| 4842 | }; | 4842 | }; |
| 4843 | 4843 | ||
| 4844 | static void | 4844 | static void |
| @@ -5487,7 +5487,7 @@ key_press_event (GtkWidget * widget, GdkEvent * event, gpointer * user_data) | |||
| 5487 | evq_enqueue (&inev); | 5487 | evq_enqueue (&inev); |
| 5488 | } | 5488 | } |
| 5489 | 5489 | ||
| 5490 | // count += nchars; | 5490 | /* count += nchars; */ |
| 5491 | 5491 | ||
| 5492 | inev.ie.kind = NO_EVENT; /* Already stored above. */ | 5492 | inev.ie.kind = NO_EVENT; /* Already stored above. */ |
| 5493 | 5493 | ||
| @@ -5501,7 +5501,7 @@ done: | |||
| 5501 | { | 5501 | { |
| 5502 | XSETFRAME (inev.ie.frame_or_window, f); | 5502 | XSETFRAME (inev.ie.frame_or_window, f); |
| 5503 | evq_enqueue (&inev); | 5503 | evq_enqueue (&inev); |
| 5504 | // count++; | 5504 | /* count++; */ |
| 5505 | } | 5505 | } |
| 5506 | 5506 | ||
| 5507 | SAFE_FREE (); | 5507 | SAFE_FREE (); |
| @@ -6831,7 +6831,7 @@ A value of nil means Emacs doesn't use toolkit scroll bars. | |||
| 6831 | With the X Window system, the value is a symbol describing the | 6831 | With the X Window system, the value is a symbol describing the |
| 6832 | X toolkit. Possible values are: gtk, motif, xaw, or xaw3d. | 6832 | X toolkit. Possible values are: gtk, motif, xaw, or xaw3d. |
| 6833 | With MS Windows or Nextstep, the value is t. */ ); | 6833 | With MS Windows or Nextstep, the value is t. */ ); |
| 6834 | // Vx_toolkit_scroll_bars = Qt; | 6834 | /* Vx_toolkit_scroll_bars = Qt; */ |
| 6835 | Vx_toolkit_scroll_bars = intern_c_string ("gtk"); | 6835 | Vx_toolkit_scroll_bars = intern_c_string ("gtk"); |
| 6836 | 6836 | ||
| 6837 | DEFVAR_BOOL ("x-use-underline-position-properties", x_use_underline_position_properties, | 6837 | DEFVAR_BOOL ("x-use-underline-position-properties", x_use_underline_position_properties, |