diff options
| author | Paul Eggert | 2011-03-13 00:31:16 -0800 |
|---|---|---|
| committer | Paul Eggert | 2011-03-13 00:31:16 -0800 |
| commit | 1e5524e7cfe4ec2ad1841c28495dce4ecc5f487e (patch) | |
| tree | f70fbd486380e616fc58ee5a4a924459ccf339cb /src/ChangeLog | |
| parent | b0afc268e8513939e5fc0551f33aec6884e7a4e6 (diff) | |
| download | emacs-1e5524e7cfe4ec2ad1841c28495dce4ecc5f487e.tar.gz emacs-1e5524e7cfe4ec2ad1841c28495dce4ecc5f487e.zip | |
* gtkutil.c (int_gtk_range_get_value): New function, which avoids a diagnostic
from gcc -Wbad-function-cast.
(xg_set_toolkit_scroll_bar_thumb): Use it.
(xg_tool_bar_callback, xg_tool_item_stale_p): Rewrite to avoid
diagnostic from gcc -Wbad-function-cast.
Diffstat (limited to 'src/ChangeLog')
| -rw-r--r-- | src/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 269285d32b0..454b6fba129 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -4,6 +4,11 @@ | |||
| 4 | to unsigned char * to avoid compiler diagnostic. | 4 | to unsigned char * to avoid compiler diagnostic. |
| 5 | (xg_free_frame_widgets): Make it clear that a local variable is | 5 | (xg_free_frame_widgets): Make it clear that a local variable is |
| 6 | needed only if USE_GTK_TOOLTIP. | 6 | needed only if USE_GTK_TOOLTIP. |
| 7 | (int_gtk_range_get_value): New function, which avoids a diagnostic | ||
| 8 | from gcc -Wbad-function-cast. | ||
| 9 | (xg_set_toolkit_scroll_bar_thumb): Use it. | ||
| 10 | (xg_tool_bar_callback, xg_tool_item_stale_p): Rewrite to avoid | ||
| 11 | diagnostic from gcc -Wbad-function-cast. | ||
| 7 | 12 | ||
| 8 | * xgselect.c (xg_select): Remove unused var. | 13 | * xgselect.c (xg_select): Remove unused var. |
| 9 | 14 | ||