[monkey-bubble: 336/753] Comment out unused variables to make it compile with -Werror.
- From: Sven Herzberg <herzi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [monkey-bubble: 336/753] Comment out unused variables to make it compile with -Werror.
- Date: Wed, 14 Jul 2010 22:23:54 +0000 (UTC)
commit b05090d7e4eda9b98eec8d5d62d661d563b4f27e
Author: Martin Baulig <martin src gnome org>
Date: Thu May 31 14:48:26 2001 +0000
Comment out unused variables to make it compile with -Werror.
libgnomeui/gnome-about.c | 11 ++++++++---
1 files changed, 8 insertions(+), 3 deletions(-)
---
diff --git a/libgnomeui/gnome-about.c b/libgnomeui/gnome-about.c
index a69db50..b755634 100644
--- a/libgnomeui/gnome-about.c
+++ b/libgnomeui/gnome-about.c
@@ -195,10 +195,12 @@ static void
gnome_about_draw (GnomeAbout *about)
{
GnomeCanvasGroup *root;
- GnomeCanvasItem *item, *item_email;
+ GnomeCanvasItem *item, *item_email G_GNUC_UNUSED;
gdouble x, y, x2, y2, h, w;
+#if 0
GList *name, *name_url = 0, *name_email;
gchar *tmp;
+#endif
GnomeAboutPrivate *priv = about->_priv;
@@ -626,9 +628,12 @@ get_text_height (GtkWidget *widget)
static void
gnome_about_calc_size (GnomeAbout *about)
{
+ gint num_pars, i, h, w, len[5], pw;
+#if 0
GList *name, *email = NULL;
GList *urls = NULL;
- gint num_pars, i, h, w, len[5], tmpl, pw;
+ gint tmpl;
+#endif
gint title_h;
const gchar *p;
gfloat maxlen;
@@ -918,7 +923,7 @@ gnome_about_fill_info (GnomeAbout *about,
static void gnome_about_fill_style (GnomeAbout *about)
{
- GtkStyle *style;
+ GtkStyle *style G_GNUC_UNUSED;
Bonobo_ConfigDatabase cd = gnome_program_get_config_database (gnome_program_get ());
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]