[monkey-bubble: 79/753] Some `-Wall -Wmissing-declarations' fixes: Changed type of `buttons' to
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [monkey-bubble: 79/753] Some `-Wall -Wmissing-declarations' fixes: Changed type of `buttons' to
- Date: Wed, 14 Jul 2010 22:02:19 +0000 (UTC)
commit 55bbc47f52a4519ab59a9e2e14898e9db705cd3d
Author: Tom Tromey <tromey cygnus com>
Date: Mon Jul 27 02:26:18 1998 +0000
Some `-Wall -Wmissing-declarations' fixes: Changed type of `buttons' to
Sun Jul 26 13:31:27 1998 Tom Tromey <tromey cygnus com>
Some `-Wall -Wmissing-declarations' fixes:
* gnome-scores.c (gnome_scores_new): Changed type of `buttons' to
match gnome_dialog_constructv prototype.
* gnome-popupmenu.c (gnome_app_create_popup_menus_custom): Removed
unused variables.
* gnome-lamp.c (type_hash): Now static.
* gnome-init.c: Include libgnomeui/libgnomeui.h.
(gnome_init): Protect segv code with USE_SEGV_HANDLE.
(gnome_segv_handle): Likewise.
* gnome-icon-sel.c: Include <string.h>.
* gnome-entry.c (gnome_entry_load_history): Removed unused
variable.
(gnome_entry_save_history): Likewise.
* gnome-dns.c (gnome_dns_server_req): Now static.
(gnome_dns_create_server): Likewise.
(gnome_dns_callback): Likewise.
* gnome-dialog-util.c: Include gnome-dialog-util.h.
* gnome-client.c (client_set_prop_from_array_with_arg): Added cast
to avoid warning.
* gnome-app-helper.c (gnome_app_add_radio_menu_entries): Always
return a value.
(gnome_app_add_help_menu_entries): Likewise.
(gnome_app_insert_menus_custom): Removed unused variable.
* gnome-appbar.c: Include libgnomeui/gnome-preferences.h.
* gnome-app.c: Include libgnomeui/gnome-preferences.h.
libgnomeui/gnome-scores.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgnomeui/gnome-scores.c b/libgnomeui/gnome-scores.c
index 64686ee..ccb20ec 100644
--- a/libgnomeui/gnome-scores.c
+++ b/libgnomeui/gnome-scores.c
@@ -66,7 +66,7 @@ gnome_scores_new ( guint n_scores,
gchar tmp[10];
gchar *tmp2;
int i;
- gchar * buttons[] = { GNOME_STOCK_BUTTON_OK, NULL };
+ const gchar * buttons[] = { GNOME_STOCK_BUTTON_OK, NULL };
gnome_dialog_constructv(GNOME_DIALOG(retval),
_("Top Ten"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]