- delete SetEventHandler
The app_control shouldn't be set.
Change-Id: I01f7539de79a7c3bb038668a45a0689949020c9b
Signed-off-by: Myungki Lee <mk5004.lee@samsung.com>
/// </example>
public void RemoveButton(ButtonIndex index)
{
/// </example>
public void RemoveButton(ButtonIndex index)
{
- AppControl app = new AppControl();
-
int ret = Interop.Notification.RemoveButton(_handle, (int)index + 1);
if(ret != (int)NotificationError.None)
{
int ret = Interop.Notification.RemoveButton(_handle, (int)index + 1);
if(ret != (int)NotificationError.None)
{
{
throw NotificationErrorFactory.GetException((NotificationError)ret, "unable to set button text");
}
{
throw NotificationErrorFactory.GetException((NotificationError)ret, "unable to set button text");
}
-
- ret = Interop.Notification.SetEventHandler(_handle, (int)index, app.SafeAppControlHandle);
- if (ret != (int)NotificationError.None)
- {
- throw NotificationErrorFactory.GetException((NotificationError)ret, "unable to set button event handler");
- }