diff options
| author | Paul Eggert | 2012-09-23 12:36:31 -0700 |
|---|---|---|
| committer | Paul Eggert | 2012-09-23 12:36:31 -0700 |
| commit | 18e27ea822e42697a32a9757e7931004b86b1188 (patch) | |
| tree | 075e0a04fbc1b55f37037c5be8ee50f2b672339d /src/xterm.c | |
| parent | 67d63151f28c1188dc22a525138198dd0ea81d8a (diff) | |
| download | emacs-18e27ea822e42697a32a9757e7931004b86b1188.tar.gz emacs-18e27ea822e42697a32a9757e7931004b86b1188.zip | |
gnutls.c, gtkutil.c: Use bool for boolean.
* gnutls.c (gnutls_global_initialized, init_gnutls_functions)
(emacs_gnutls_handle_error):
* gtkutil.c (xg_check_special_colors, xg_prepare_tooltip)
(xg_hide_tooltip, xg_create_frame_widgets)
(create_dialog, xg_uses_old_file_dialog)
(xg_get_file_with_chooser, xg_get_file_with_selection)
(xg_get_file_name, xg_have_tear_offs, create_menus, xg_create_widget)
(xg_item_label_same_p, xg_update_menubar)
(xg_modify_menubar_widgets, xg_event_is_for_menubar)
(xg_ignore_gtk_scrollbar, xg_set_toolkit_scroll_bar_thumb)
(xg_event_is_for_scrollbar, xg_pack_tool_bar, xg_make_tool_item)
(is_box_type, xg_tool_item_stale_p, xg_update_tool_bar_sizes)
(update_frame_tool_bar, free_frame_tool_bar):
* gtkutil.c, w32term.c, xterm.c (x_wm_set_size_hint):
* nsmenu.m (ns_update_menubar):
* nsmenu.m, w32menu.c, xmenu.c (set_frame_menubar):
* xfns.c (Fx_show_tip) [USE_GTK]:
Use bool for boolean.
* gtkutil.c (xg_update_frame_menubar):
* xmenu.c (update_frame_menubar):
Return void, not int, since caller ignores return value.
* gtkutil.c (xg_change_toolbar_position):
Return void, not 1.
Diffstat (limited to 'src/xterm.c')
| -rw-r--r-- | src/xterm.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xterm.c b/src/xterm.c index 15a78147d24..c33fbf74c77 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -9541,13 +9541,13 @@ x_destroy_window (struct frame *f) | |||
| 9541 | /* Set the normal size hints for the window manager, for frame F. | 9541 | /* Set the normal size hints for the window manager, for frame F. |
| 9542 | FLAGS is the flags word to use--or 0 meaning preserve the flags | 9542 | FLAGS is the flags word to use--or 0 meaning preserve the flags |
| 9543 | that the window now has. | 9543 | that the window now has. |
| 9544 | If USER_POSITION is nonzero, we set the USPosition | 9544 | If USER_POSITION, set the USPosition |
| 9545 | flag (this is useful when FLAGS is 0). | 9545 | flag (this is useful when FLAGS is 0). |
| 9546 | The GTK version is in gtkutils.c */ | 9546 | The GTK version is in gtkutils.c. */ |
| 9547 | 9547 | ||
| 9548 | #ifndef USE_GTK | 9548 | #ifndef USE_GTK |
| 9549 | void | 9549 | void |
| 9550 | x_wm_set_size_hint (struct frame *f, long flags, int user_position) | 9550 | x_wm_set_size_hint (struct frame *f, long flags, bool user_position) |
| 9551 | { | 9551 | { |
| 9552 | XSizeHints size_hints; | 9552 | XSizeHints size_hints; |
| 9553 | Window window = FRAME_OUTER_WINDOW (f); | 9553 | Window window = FRAME_OUTER_WINDOW (f); |