manager: Remove the "error" signal and adapt to changes
We can now use the message source interface to signal any feedback to the user.
This commit is contained in:
@@ -73,9 +73,6 @@ static GParamSpec *props[PROP_LAST_PROP];
|
||||
enum {
|
||||
SIGNAL_CALL_ADD,
|
||||
SIGNAL_CALL_REMOVE,
|
||||
/* TODO: currently this event isn't emitted since the plugins don't give use
|
||||
* a usable error or error message. */
|
||||
SIGNAL_ERROR,
|
||||
USSD_ADDED,
|
||||
USSD_CANCELLED,
|
||||
USSD_STATE_CHANGED,
|
||||
@@ -603,16 +600,6 @@ calls_manager_class_init (CallsManagerClass *klass)
|
||||
CALLS_TYPE_CALL,
|
||||
CALLS_TYPE_ORIGIN);
|
||||
|
||||
signals[SIGNAL_ERROR] =
|
||||
g_signal_new ("error",
|
||||
G_TYPE_FROM_CLASS (klass),
|
||||
G_SIGNAL_RUN_FIRST,
|
||||
0,
|
||||
NULL, NULL, NULL,
|
||||
G_TYPE_NONE,
|
||||
1,
|
||||
G_TYPE_STRING);
|
||||
|
||||
signals[USSD_ADDED] =
|
||||
g_signal_new ("ussd-added",
|
||||
G_TYPE_FROM_CLASS (klass),
|
||||
|
||||
Reference in New Issue
Block a user