[Bug 1184442] [NEW] Since a Saucy GTK update, psensor fails to build

Launchpad Bug Tracker 1184442 at bugs.launchpad.net
Sun May 26 23:14:53 UTC 2013


You have been subscribed to a public bug by Jean-Philippe Orsini (jfi):

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

** Affects: psensor (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Since a Saucy GTK update, psensor fails to build
https://bugs.launchpad.net/bugs/1184442
You received this bug notification because you are a member of Ubuntu Sponsors Team, which is subscribed to the bug report.



More information about the Ubuntu-sponsors mailing list