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/w32term.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/w32term.c')
| -rw-r--r-- | src/w32term.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/w32term.c b/src/w32term.c index f5424a4d5f1..5d5e572c475 100644 --- a/src/w32term.c +++ b/src/w32term.c | |||
| @@ -197,7 +197,7 @@ static void w32_define_cursor (Window, Cursor); | |||
| 197 | 197 | ||
| 198 | void x_lower_frame (struct frame *); | 198 | void x_lower_frame (struct frame *); |
| 199 | void x_scroll_bar_clear (struct frame *); | 199 | void x_scroll_bar_clear (struct frame *); |
| 200 | void x_wm_set_size_hint (struct frame *, long, int); | 200 | void x_wm_set_size_hint (struct frame *, long, bool); |
| 201 | void x_raise_frame (struct frame *); | 201 | void x_raise_frame (struct frame *); |
| 202 | void x_set_window_size (struct frame *, int, int, int); | 202 | void x_set_window_size (struct frame *, int, int, int); |
| 203 | void x_wm_set_window_state (struct frame *, int); | 203 | void x_wm_set_window_state (struct frame *, int); |
| @@ -5982,10 +5982,10 @@ x_destroy_window (struct frame *f) | |||
| 5982 | /* Set the normal size hints for the window manager, for frame F. | 5982 | /* Set the normal size hints for the window manager, for frame F. |
| 5983 | FLAGS is the flags word to use--or 0 meaning preserve the flags | 5983 | FLAGS is the flags word to use--or 0 meaning preserve the flags |
| 5984 | that the window now has. | 5984 | that the window now has. |
| 5985 | If USER_POSITION is nonzero, we set the USPosition | 5985 | If USER_POSITION, set the USPosition |
| 5986 | flag (this is useful when FLAGS is 0). */ | 5986 | flag (this is useful when FLAGS is 0). */ |
| 5987 | void | 5987 | void |
| 5988 | x_wm_set_size_hint (struct frame *f, long flags, int user_position) | 5988 | x_wm_set_size_hint (struct frame *f, long flags, bool user_position) |
| 5989 | { | 5989 | { |
| 5990 | Window window = FRAME_W32_WINDOW (f); | 5990 | Window window = FRAME_W32_WINDOW (f); |
| 5991 | 5991 | ||