gnome-applets: FTBFS (amd64/gcc-4.0): static declaration of 'change_background' follows non-static declaration

Bug #15305 reported by Debian Bug Importer
4
Affects Status Importance Assigned to Milestone
Debian
Fix Released
Unknown
Ubuntu
Fix Released
High
Sebastien Bacher

Bug Description

Automatically imported from Debian bug report #289207 http://bugs.debian.org/289207

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Automatically imported from Debian bug report #289207 http://bugs.debian.org/289207

Revision history for this message
Debian Bug Importer (debzilla) wrote :

Message-Id: <email address hidden>
Date: Fri, 07 Jan 2005 21:53:42 +0100
From: Andreas Jochens <email address hidden>
To: Debian Bug Tracking System <email address hidden>
Subject: gnome-applets: FTBFS (amd64/gcc-4.0): static declaration of 'change_background' follows
 non-static declaration

Package: gnome-applets
Severity: normal
Tags: patch

When building 'gnome-applets' on amd64 with gcc-4.0,
I get the following error:

battstat_applet.c:1446: error: static declaration of 'change_background' follows non-static declaration
battstat.h:155: error: previous declaration of 'change_background' was here
make[4]: *** [battstat_applet.o] Error 1
make[4]: Leaving directory `/gnome-applets-2.8.2/battstat'

With the attached patch 'gnome-applets' can be compiled
on amd64 using gcc-4.0.

Regards
Andreas Jochens

diff -urN ../tmp-orig/gnome-applets-2.8.2/battstat/battstat.h ./battstat/battstat.h
--- ../tmp-orig/gnome-applets-2.8.2/battstat/battstat.h 2004-08-03 16:22:29.000000000 +0200
+++ ./battstat/battstat.h 2005-01-07 19:56:50.413684168 +0100
@@ -151,7 +151,5 @@
 void destroy_about (GtkWidget *, gpointer);
 void about_cb (BonoboUIComponent *, ProgressData *, const char *);
 void size_allocate(PanelApplet *, GtkAllocation *, gpointer);
-void change_background(PanelApplet *a, PanelAppletBackgroundType type,
- GdkColor *color, GdkPixmap *pixmap, ProgressData *battstat);
 gint create_layout(ProgressData *battstat);
 void load_preferences(ProgressData *battstat);

Revision history for this message
Sebastien Bacher (seb128) wrote :

fixed with 2.10

Revision history for this message
In , Marc Dequènes (Duck) (duck) wrote : tagging 289207

# Automatically generated email from bts, devscripts version 2.8.14
tags 289207 + fixed-in-experimental

Revision history for this message
In , Marc Dequènes (Duck) (duck) wrote :

Coin,

Fixed in 2.10.1-3 just uploaded.

--
Marc Dequènes (Duck)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.