diff options
author | Marc Plano-Lesay <marc.planolesay@gmail.com> | 2011-05-04 20:35:07 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2011-05-05 15:45:18 +0800 |
commit | 981d17576bb3451bd4ac79cbd2de079fb64d260b (patch) | |
tree | ea826ef0ce7b0ab141bdc615b7641eda3a164654 /src/empathy-event-manager.c | |
parent | 9a1a49ed9ddf5a3d1da99eabca27882705688545 (diff) | |
download | gsoc2013-empathy-981d17576bb3451bd4ac79cbd2de079fb64d260b.tar gsoc2013-empathy-981d17576bb3451bd4ac79cbd2de079fb64d260b.tar.gz gsoc2013-empathy-981d17576bb3451bd4ac79cbd2de079fb64d260b.tar.bz2 gsoc2013-empathy-981d17576bb3451bd4ac79cbd2de079fb64d260b.tar.lz gsoc2013-empathy-981d17576bb3451bd4ac79cbd2de079fb64d260b.tar.xz gsoc2013-empathy-981d17576bb3451bd4ac79cbd2de079fb64d260b.tar.zst gsoc2013-empathy-981d17576bb3451bd4ac79cbd2de079fb64d260b.zip |
fix unused-but-set-variable warnings
Diffstat (limited to 'src/empathy-event-manager.c')
-rw-r--r-- | src/empathy-event-manager.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/src/empathy-event-manager.c b/src/empathy-event-manager.c index 6125ec895..2786e0738 100644 --- a/src/empathy-event-manager.c +++ b/src/empathy-event-manager.c @@ -335,9 +335,6 @@ static void event_text_channel_process_func (EventPriv *event) { EmpathyTpChat *tp_chat; - gint64 timestamp; - - timestamp = tp_user_action_time_from_x11 (gtk_get_current_event_time ()); if (event->approval->handler != 0) { @@ -566,7 +563,6 @@ event_manager_chat_message_received_cb (EmpathyTpChat *tp_chat, EmpathyContact *sender; const gchar *header; const gchar *msg; - TpChannel *channel; EventPriv *event; EmpathyEventManagerPriv *priv = GET_PRIV (approval->manager); @@ -583,8 +579,6 @@ event_manager_chat_message_received_cb (EmpathyTpChat *tp_chat, header = empathy_contact_get_alias (sender); msg = empathy_message_get_body (message); - channel = empathy_tp_chat_get_channel (tp_chat); - if (event != NULL) event_update (approval->manager, event, EMPATHY_IMAGE_NEW_MESSAGE, header, msg); @@ -703,13 +697,9 @@ invite_dialog_response_cb (GtkDialog *dialog, gint response, EventManagerApproval *approval) { - EmpathyTpChat *tp_chat; - gtk_widget_destroy (GTK_WIDGET (approval->dialog)); approval->dialog = NULL; - tp_chat = EMPATHY_TP_CHAT (approval->handler_instance); - if (response != GTK_RESPONSE_OK) { /* close channel */ |