~didrocks/unity/enter-is-good-for-you

« back to all changes in this revision

Viewing changes to src/unityshell.cpp

  • Committer: Jay Taoko
  • Date: 2011-04-13 14:12:47 UTC
  • Revision ID: jay.taoko@canonical.com-20110413141247-edlbtarvf68x8ten
* Fix sign/unsigned errors

Show diffs side-by-side

added added

removed removed

Lines of Context:
942
942
  optionSetPanelFirstMenuTerminate(boost::bind (&UnityScreen::showPanelFirstMenuKeyTerminate, this, _1, _2, _3));
943
943
  optionSetLauncherRevealEdgeInitiate (boost::bind (&UnityScreen::launcherRevealEdgeInitiate, this, _1, _2, _3));
944
944
 
945
 
  for (int i = 0; i < G_N_ELEMENTS (_ubus_handles); i++)
 
945
  for (unsigned int i = 0; i < G_N_ELEMENTS (_ubus_handles); i++)
946
946
    _ubus_handles[i] = 0;
947
947
 
948
948
  UBusServer* ubus = ubus_server_get_default ();
991
991
  unity_a11y_finalize ();
992
992
 
993
993
  UBusServer* ubus = ubus_server_get_default ();
994
 
  for (int i = 0; i < G_N_ELEMENTS (_ubus_handles); i++)
 
994
  for (unsigned int i = 0; i < G_N_ELEMENTS (_ubus_handles); i++)
995
995
  {
996
996
    if (_ubus_handles[i] != 0)
997
997
      ubus_server_unregister_interest (ubus, _ubus_handles[i]);