]> Pileus Git - ~andy/gtk/commit
a11y: fix uninitialized variables compiler warning
authorCosimo Cecchi <cosimoc@gnome.org>
Fri, 14 Dec 2012 02:52:51 +0000 (21:52 -0500)
committerCosimo Cecchi <cosimoc@gnome.org>
Fri, 14 Dec 2012 02:52:51 +0000 (21:52 -0500)
commit3782cf77c38702351feb412bd0a8a08b3dce3dc6
treeb00d3afcbd6787e33d826338342c127eaf26bb95
parent9dc4c5ce73b61d4900ab293ec076c96f067a77dd
a11y: fix uninitialized variables compiler warning

The code path where we update the tooltip text property doesn't set
the state and value variables, and so doesn't need to call
notify_state_change().
Return early, and move the if block at the beginning of the function for
clarity.
gtk/a11y/gtkwidgetaccessible.c