Remove unused JI_SIGNAL_COMBOBOX_CHANGE signal.

This commit is contained in:
David Capello 2011-08-07 22:08:24 -03:00
parent 3442997007
commit 63f163439f
2 changed files with 1 additions and 5 deletions

View File

@ -165,7 +165,6 @@ enum {
JI_SIGNAL_ENTRY_CHANGE, JI_SIGNAL_ENTRY_CHANGE,
JI_SIGNAL_LISTBOX_CHANGE, JI_SIGNAL_LISTBOX_CHANGE,
JI_SIGNAL_LISTBOX_SELECT, JI_SIGNAL_LISTBOX_SELECT,
JI_SIGNAL_COMBOBOX_CHANGE,
JI_SIGNAL_COMBOBOX_SELECT, JI_SIGNAL_COMBOBOX_SELECT,
JI_SIGNAL_MANAGER_EXTERNAL_CLOSE, JI_SIGNAL_MANAGER_EXTERNAL_CLOSE,
JI_SIGNAL_MANAGER_ADD_WINDOW, JI_SIGNAL_MANAGER_ADD_WINDOW,

View File

@ -379,11 +379,8 @@ static bool combobox_listbox_msg_proc(JWidget widget, Message* msg)
if (msg->signal.num == JI_SIGNAL_LISTBOX_CHANGE) { if (msg->signal.num == JI_SIGNAL_LISTBOX_CHANGE) {
int index = jlistbox_get_selected_index(widget); int index = jlistbox_get_selected_index(widget);
if (IS_VALID_ITEM(combobox, index)) { if (IS_VALID_ITEM(combobox, index))
combobox->setSelectedItem(index); combobox->setSelectedItem(index);
jwidget_emit_signal(combobox, JI_SIGNAL_COMBOBOX_CHANGE);
}
} }
break; break;