aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-cell-renderer-activatable.c
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@src.gnome.org>2008-04-13 18:17:17 +0800
committerXavier Claessens <xclaesse@src.gnome.org>2008-04-13 18:17:17 +0800
commit97ae7e9c570dd2165190d2549a42081963d79be3 (patch)
tree58fb0212b66622b790440cf301dc65387f0b6d84 /libempathy-gtk/empathy-cell-renderer-activatable.c
parent61de7c0f80f3a0ffed78821200295cebb80c455a (diff)
downloadgsoc2013-empathy-97ae7e9c570dd2165190d2549a42081963d79be3.tar
gsoc2013-empathy-97ae7e9c570dd2165190d2549a42081963d79be3.tar.gz
gsoc2013-empathy-97ae7e9c570dd2165190d2549a42081963d79be3.tar.bz2
gsoc2013-empathy-97ae7e9c570dd2165190d2549a42081963d79be3.tar.lz
gsoc2013-empathy-97ae7e9c570dd2165190d2549a42081963d79be3.tar.xz
gsoc2013-empathy-97ae7e9c570dd2165190d2549a42081963d79be3.tar.zst
gsoc2013-empathy-97ae7e9c570dd2165190d2549a42081963d79be3.zip
Fix crash crash when opening a chat with the keyboard Fixes bug #527713 (Frederic Peters).
svn path=/trunk/; revision=931
Diffstat (limited to 'libempathy-gtk/empathy-cell-renderer-activatable.c')
-rw-r--r--libempathy-gtk/empathy-cell-renderer-activatable.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-cell-renderer-activatable.c b/libempathy-gtk/empathy-cell-renderer-activatable.c
index 76e3b3bd7..6cdce0d28 100644
--- a/libempathy-gtk/empathy-cell-renderer-activatable.c
+++ b/libempathy-gtk/empathy-cell-renderer-activatable.c
@@ -97,7 +97,7 @@ cell_renderer_activatable_activate (GtkCellRenderer *cell,
activatable = EMPATHY_CELL_RENDERER_ACTIVATABLE (cell);
- if (!GTK_IS_TREE_VIEW (widget) ||
+ if (!GTK_IS_TREE_VIEW (widget) || event == NULL ||
event->type != GDK_BUTTON_PRESS) {
return FALSE;
}