diff options
author | Xavier Claessens <xclaesse@gmail.com> | 2011-07-26 16:19:50 +0800 |
---|---|---|
committer | Xavier Claessens <xclaesse@gmail.com> | 2011-07-26 16:19:50 +0800 |
commit | 20dd5c1f01cff2c523ce74bc02a57c8e53b2aa65 (patch) | |
tree | 490a31c070254d9b63d4de641048deb43c16211c | |
parent | 5a56118ce05c8b0579e4a7397d9c57fdd3b01937 (diff) | |
parent | 5beda725e1aff0da12703e2f51cdb4b95c63b321 (diff) | |
download | gsoc2013-empathy-20dd5c1f01cff2c523ce74bc02a57c8e53b2aa65.tar gsoc2013-empathy-20dd5c1f01cff2c523ce74bc02a57c8e53b2aa65.tar.gz gsoc2013-empathy-20dd5c1f01cff2c523ce74bc02a57c8e53b2aa65.tar.bz2 gsoc2013-empathy-20dd5c1f01cff2c523ce74bc02a57c8e53b2aa65.tar.lz gsoc2013-empathy-20dd5c1f01cff2c523ce74bc02a57c8e53b2aa65.tar.xz gsoc2013-empathy-20dd5c1f01cff2c523ce74bc02a57c8e53b2aa65.tar.zst gsoc2013-empathy-20dd5c1f01cff2c523ce74bc02a57c8e53b2aa65.zip |
Merge remote-tracking branch 'danni/populate-popup-654669'
-rw-r--r-- | libempathy-gtk/empathy-chat.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-chat.c b/libempathy-gtk/empathy-chat.c index 5f441af19..032dd2464 100644 --- a/libempathy-gtk/empathy-chat.c +++ b/libempathy-gtk/empathy-chat.c @@ -2245,14 +2245,16 @@ chat_input_populate_popup_cb (GtkTextView *view, &iter, x, y); break; + default: + g_warn_if_reached (); + /* assume the KEY_PRESS case */ + case GDK_KEY_PRESS: /* get the location from the cursor */ gtk_text_buffer_get_iter_at_mark (buffer, &iter, gtk_text_buffer_get_insert (buffer)); break; - default: - break; } start = end = iter; |