summaryrefslogtreecommitdiff
path: root/apps/settings.c
diff options
context:
space:
mode:
authorJonathan Gordon <rockbox@jdgordon.info>2009-11-11 06:39:23 +0000
committerJonathan Gordon <rockbox@jdgordon.info>2009-11-11 06:39:23 +0000
commit7c440bff3254250711e1768de2769dc68185fefd (patch)
treeda885d57a4bbc9db64994c37f7eb7d13a7f2353b /apps/settings.c
parent664dc90e714837bec83153daa13ef39769705c78 (diff)
downloadrockbox-7c440bff3254250711e1768de2769dc68185fefd.tar.gz
rockbox-7c440bff3254250711e1768de2769dc68185fefd.zip
remove 3 bad viewport functions:
* viewport_set_current_vp() because if a screen wants to not use the user setting it shouldn't be dealing with the viewport manager at all (other than to disable the bars) * viewport_ui_vp_get_state() is unused (and not needed) * viewport_get_current_vp() because you should be using set_defaults() instead. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@23606 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'apps/settings.c')
-rw-r--r--apps/settings.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/apps/settings.c b/apps/settings.c
index 54fe4244f7..068613abcf 100644
--- a/apps/settings.c
+++ b/apps/settings.c
@@ -1149,8 +1149,7 @@ bool set_int_ex(const unsigned char* string,
1149 item.lang_id = -1; 1149 item.lang_id = -1;
1150 item.cfg_vals = (char*)string; 1150 item.cfg_vals = (char*)string;
1151 item.setting = (void *)variable; 1151 item.setting = (void *)variable;
1152 return option_screen(&item, 1152 return option_screen(&item, NULL, false, NULL);
1153 viewport_get_current_vp(), false, NULL);
1154} 1153}
1155 1154
1156 1155