[Bug 1184442] Re: Since a Saucy GTK update, psensor fails to build
Martin Pitt
martin.pitt at ubuntu.com
Mon May 27 06:44:27 UTC 2013
Jean-Philippe, thanks! I uploaded the fix.
If you need a Debian sponsor, please feel free to ping/mail me.
** Changed in: psensor (Ubuntu)
Status: New => Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Sponsors Team, which is subscribed to the bug report.
https://bugs.launchpad.net/bugs/1184442
Title:
Since a Saucy GTK update, psensor fails to build
Status in “psensor” package in Ubuntu:
Fix Committed
Bug description:
Due to a Saucy GTK update, psensor cannot be build.
The error is due to the deprecation of the GTK Color Selection widget,
and the Psensor build fails on deprecation warnings.
ui_color.c: In function 'ui_change_color':
ui_color.c:26:2: error: unknown type name 'GtkColorSelection'
GtkColorSelection *colorsel;
^
ui_color.c:28:2: error: unknown type name 'GtkColorSelectionDialog'
GtkColorSelectionDialog *colordlg;
^
ui_color.c:35:3: error: implicit declaration of function 'GTK_COLOR_SELECTION_DIALOG' [-Werror=implicit-function-declaration]
(gtk_color_selection_dialog_new(title));
^
ui_color.c:35:3: error: implicit declaration of function 'gtk_color_selection_dialog_new' [-Werror=implicit-function-declaration]
ui_color.c:34:11: error: assignment makes pointer from integer without a cast [-Werror]
colordlg = GTK_COLOR_SELECTION_DIALOG
^
ui_color.c:38:3: error: implicit declaration of function 'GTK_COLOR_SELECTION' [-Werror=implicit-function-declaration]
(gtk_color_selection_dialog_get_color_selection(colordlg));
^
ui_color.c:38:3: error: implicit declaration of function 'gtk_color_selection_dialog_get_color_selection' [-Werror=implicit-function-declaration]
ui_color.c:37:11: error: assignment makes pointer from integer without a cast [-Werror]
colorsel = GTK_COLOR_SELECTION
^
ui_color.c:40:2: error: implicit declaration of function 'gtk_color_selection_set_current_color' [-Werror=implicit-function-declaration]
gtk_color_selection_set_current_color(colorsel, &color);
^
ui_color.c:45:3: error: implicit declaration of function 'gtk_color_selection_get_current_color' [-Werror=implicit-function-declaration]
gtk_color_selection_get_current_color(colorsel, &color);
^
cc1: all warnings being treated as errors
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/psensor/+bug/1184442/+subscriptions
More information about the Ubuntu-sponsors
mailing list