Index: modules/shortcut/shortcut.module
===================================================================
RCS file: /cvs/drupal/drupal/modules/shortcut/shortcut.module,v
retrieving revision 1.20
diff -u -p -r1.20 shortcut.module
--- modules/shortcut/shortcut.module	30 Jan 2010 07:59:25 -0000	1.20
+++ modules/shortcut/shortcut.module	17 Feb 2010 19:20:52 -0000
@@ -295,8 +295,7 @@ function shortcut_set_save(&$shortcut_se
  */
 function shortcut_set_delete($shortcut_set) {
   // Make sure not to delete the default set.
-  $default_set = shortcut_default_set();
-  if ($shortcut_set->set_name == $default_set->set_name) {
+  if ($shortcut_set->set_name == SHORTCUT_DEFAULT_SET_NAME) {
     return FALSE;
   }
   // First, delete any user assignments for this set, so that each of these
