~feng-kylin/unity/unityshell-rotated-kylin

« back to all changes in this revision

Viewing changes to a11y/unity-session-button-accessible.cpp

  • Committer: handsome_feng
  • Date: 2015-12-23 01:13:33 UTC
  • mfrom: (3999.2.68 unity)
  • Revision ID: 445865575@qq.com-20151223011333-gm1y3os6xzdzfstb
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
153
153
  if (nux_object == NULL) /* defunct */
154
154
    return;
155
155
 
156
 
  button = dynamic_cast<Button*>(nux_object);
157
 
 
 
156
  button = static_cast<Button*>(nux_object);
158
157
  button->highlighted.changed.connect(sigc::bind(sigc::ptr_fun(on_focus_change_cb),
159
158
                                                 UNITY_SESSION_BUTTON_ACCESSIBLE(self)));
160
159
}