aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJonny Lamb <jonnylamb@gnome.org>2011-05-16 22:13:13 +0800
committerJonny Lamb <jonnylamb@gnome.org>2011-05-16 22:13:13 +0800
commit2d5e4f0a14794617d5fe385d4fcea86e4120edf5 (patch)
treea2b5a00bc5721e7dd1fd28096d04968bd95f2f4c
parent52e1e2fbdafd993933ba7866847ddbbedd7a2748 (diff)
downloadgsoc2013-empathy-2d5e4f0a14794617d5fe385d4fcea86e4120edf5.tar
gsoc2013-empathy-2d5e4f0a14794617d5fe385d4fcea86e4120edf5.tar.gz
gsoc2013-empathy-2d5e4f0a14794617d5fe385d4fcea86e4120edf5.tar.bz2
gsoc2013-empathy-2d5e4f0a14794617d5fe385d4fcea86e4120edf5.tar.lz
gsoc2013-empathy-2d5e4f0a14794617d5fe385d4fcea86e4120edf5.tar.xz
gsoc2013-empathy-2d5e4f0a14794617d5fe385d4fcea86e4120edf5.tar.zst
gsoc2013-empathy-2d5e4f0a14794617d5fe385d4fcea86e4120edf5.zip
main-window: call the remote UndoClosedTab
It will work, unlike this one. Signed-off-by: Jonny Lamb <jonnylamb@gnome.org>
-rw-r--r--src/empathy-main-window.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/empathy-main-window.c b/src/empathy-main-window.c
index 0ac08c856..227160985 100644
--- a/src/empathy-main-window.c
+++ b/src/empathy-main-window.c
@@ -1226,14 +1226,10 @@ main_window_key_press_event_cb (GtkWidget *window,
GdkEventKey *event,
gpointer user_data)
{
- EmpathyChatManager *chat_manager;
-
if (event->keyval == GDK_KEY_T
&& event->state & GDK_SHIFT_MASK
&& event->state & GDK_CONTROL_MASK) {
- chat_manager = empathy_chat_manager_dup_singleton ();
- empathy_chat_manager_undo_closed_chat (chat_manager);
- g_object_unref (chat_manager);
+ empathy_chat_manager_call_undo_closed_chat ();
}
return FALSE;
}