Merge lp:~townsend/unity/fix-gtk-build-error into lp:unity

Proposed by Christopher Townsend
Status: Merged
Approved by: Stephen M. Webb
Approved revision: no longer in the source branch.
Merged at revision: 3609
Proposed branch: lp:~townsend/unity/fix-gtk-build-error
Merge into: lp:unity
Diff against target: 12 lines (+1/-1)
1 file modified
services/panel-service.c (+1/-1)
To merge this branch: bzr merge lp:~townsend/unity/fix-gtk-build-error
Reviewer Review Type Date Requested Status
PS Jenkins bot (community) continuous-integration Approve
Eleni Maria Stea (community) Approve
Marco Trevisan (Treviño) Approve
Brandon Schaefer (community) Approve
Review via email: mp+198611@code.launchpad.net

Commit message

Fix compile error due to deprecated gtk_widget_get_state() function.

Description of the change

Fix compile error due to deprecated gtk_widget_get_state() function.

To post a comment you must log in.
Revision history for this message
Brandon Schaefer (brandontschaefer) wrote :

LGTM

review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Marco Trevisan (Treviño) (3v1n0) :
review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
Eleni Maria Stea (hikiko) :
review: Approve
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) wrote :
review: Needs Fixing (continuous-integration)
Revision history for this message
PS Jenkins bot (ps-jenkins) :
review: Approve (continuous-integration)

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'services/panel-service.c'
2--- services/panel-service.c 2013-10-26 19:14:03 +0000
3+++ services/panel-service.c 2013-12-11 16:52:23 +0000
4@@ -1888,7 +1888,7 @@
5 GtkWidget *item = (GtkWidget *)c->data;
6
7 if (GTK_IS_MENU_ITEM (item)
8- && gtk_widget_get_state (item) == GTK_STATE_PRELIGHT
9+ && gtk_widget_get_state_flags (item) & GTK_STATE_FLAG_PRELIGHT
10 && gtk_menu_item_get_submenu (GTK_MENU_ITEM (item)))
11 {
12 /* Skip direction due to there being a submenu,