Merge lp:~seb128/indicator-application/dont-werror-on-deprecations into lp:indicator-application/14.04
Proposed by
Sebastien Bacher
Status: | Merged |
---|---|
Approved by: | Lars Karlitski |
Approved revision: | 245 |
Merged at revision: | 244 |
Proposed branch: | lp:~seb128/indicator-application/dont-werror-on-deprecations |
Merge into: | lp:indicator-application/14.04 |
Diff against target: |
34 lines (+3/-3) 2 files modified
m4/gcov.m4 (+1/-1) src/Makefile.am (+2/-2) |
To merge this branch: | bzr merge lp:~seb128/indicator-application/dont-werror-on-deprecations |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
PS Jenkins bot (community) | continuous-integration | Approve | |
Lars Karlitski (community) | Approve | ||
Review via email: mp+201988@code.launchpad.net |
Commit message
don't error out on deprecated declarations
Description of the change
don't error out on deprecated declarations
To post a comment you must log in.
Note that the current version fails to build with GTK 3.10, we might as well want to clean the deprecations (or not if we consider the component deprecated in unity8)
"indicator- application. c:477:2: error: 'gtk_widget_ get_style' is deprecated (declared at /usr/include/ gtk-3.0/ gtk/deprecated/ gtkstyle. h:672): Use 'gtk_widget_ get_style_ context' instead [-Werror= deprecated- declarations] get_style( GTK_WIDGET( app->entry. label)) ;
GtkStyle * style = gtk_widget_
^
cc1: all warnings being treated as errors"
In any case the -Wno-error= deprecated- declarations makes sense since we agreed to not stop build on those