Skip to content

Commit

Permalink
Getting rid of calls to deprecated APIs.
Browse files Browse the repository at this point in the history
  • Loading branch information
Anthony Hu committed Aug 7, 2012
1 parent 5e28f09 commit 60a6796
Show file tree
Hide file tree
Showing 9 changed files with 3 additions and 24 deletions.
1 change: 0 additions & 1 deletion Accelerometer/dialogutil.c
Expand Up @@ -135,7 +135,6 @@ create_dialog()

dialog_create_alert(&main_dialog);
dialog_set_alert_message_text(main_dialog, "\n");
dialog_set_size(main_dialog, DIALOG_SIZE_FULL);
dialog_set_group_id(main_dialog, get_window_group_id());
dialog_set_cancel_required(main_dialog, true);
dialog_show(main_dialog);
Expand Down
1 change: 0 additions & 1 deletion AudioControl/dialogutil.c
Expand Up @@ -135,7 +135,6 @@ create_dialog()

dialog_create_alert(&main_dialog);
dialog_set_alert_message_text(main_dialog, "\n");
dialog_set_size(main_dialog, DIALOG_SIZE_FULL);
dialog_set_group_id(main_dialog, get_window_group_id());
dialog_set_cancel_required(main_dialog, true);
dialog_show(main_dialog);
Expand Down
1 change: 0 additions & 1 deletion BelligerentBlocks/src/Platform.cpp
Expand Up @@ -512,7 +512,6 @@ void Platform::displayPrompt(const std::string& prompt) {
}
dialog_instance_t displayNamePrompt;
dialog_create_prompt(&displayNamePrompt);
dialog_set_size(displayNamePrompt, DIALOG_SIZE_SMALL);

dialog_set_prompt_message_text(displayNamePrompt, prompt.c_str());
dialog_add_button(displayNamePrompt, DIALOG_OK_LABEL, true, NULL, true);
Expand Down
19 changes: 3 additions & 16 deletions Camera/bar-descriptor.xml
Expand Up @@ -68,23 +68,10 @@
<!-- <splashscreen></splashscreen> -->

<!-- Request permission to execute native code. Required for native applications. -->
<action system="true">run_native</action>
<action>use_camera</action>
<action>access_shared</action>
<permission system="true">run_native</permission>
<permission>use_camera</permission>
<permission>access_shared</permission>

<!-- The permissions requested by your application. -->
<!-- <action>access_shared</action> -->
<!-- <action>record_audio</action> -->
<!-- <action>read_geolocation</action> -->
<!-- <action>use_camera</action> -->
<!-- <action>access_internet</action> -->
<!-- <action>play_audio</action> -->
<!-- <action>post_notification</action> -->
<!-- <action>set_audio_volume</action> -->
<!-- <action>read_device_identifying_information</action> -->
<!-- <action>access_led_control</action> -->


<!-- Ensure that shared libraries in the package are found at run-time. -->
<env var="LD_LIBRARY_PATH" value="app/native/lib"/>

Expand Down
1 change: 0 additions & 1 deletion Geolocation/dialogutil.c
Expand Up @@ -135,7 +135,6 @@ create_dialog()

dialog_create_alert(&main_dialog);
dialog_set_alert_message_text(main_dialog, "\n");
dialog_set_size(main_dialog, DIALOG_SIZE_FULL);
dialog_set_group_id(main_dialog, get_window_group_id());
dialog_set_cancel_required(main_dialog, true);
dialog_show(main_dialog);
Expand Down
1 change: 0 additions & 1 deletion HttpProxy/dialogutil.c
Expand Up @@ -135,7 +135,6 @@ create_dialog()

dialog_create_alert(&main_dialog);
dialog_set_alert_message_text(main_dialog, "\n");
dialog_set_size(main_dialog, DIALOG_SIZE_FULL);
dialog_set_group_id(main_dialog, get_window_group_id());
dialog_set_cancel_required(main_dialog, true);
dialog_show(main_dialog);
Expand Down
1 change: 0 additions & 1 deletion LocaleSample/dialogutil.c
Expand Up @@ -135,7 +135,6 @@ create_dialog()

dialog_create_alert(&main_dialog);
dialog_set_alert_message_text(main_dialog, "\n");
dialog_set_size(main_dialog, DIALOG_SIZE_FULL);
dialog_set_group_id(main_dialog, get_window_group_id());
dialog_set_cancel_required(main_dialog, true);
dialog_show(main_dialog);
Expand Down
1 change: 0 additions & 1 deletion NetworkStatus/dialogutil.c
Expand Up @@ -135,7 +135,6 @@ create_dialog()

dialog_create_alert(&main_dialog);
dialog_set_alert_message_text(main_dialog, "\n");
dialog_set_size(main_dialog, DIALOG_SIZE_FULL);
dialog_set_group_id(main_dialog, get_window_group_id());
dialog_set_cancel_required(main_dialog, true);
dialog_show(main_dialog);
Expand Down
1 change: 0 additions & 1 deletion PlayWav/dialogutil.c
Expand Up @@ -135,7 +135,6 @@ create_dialog()

dialog_create_alert(&main_dialog);
dialog_set_alert_message_text(main_dialog, "\n");
dialog_set_size(main_dialog, DIALOG_SIZE_FULL);
dialog_set_group_id(main_dialog, get_window_group_id());
dialog_set_cancel_required(main_dialog, true);
dialog_show(main_dialog);
Expand Down

0 comments on commit 60a6796

Please sign in to comment.