]> git.0d.be Git - empathy.git/blobdiff - libempathy-gtk/empathy-cell-renderer-activatable.c
Updated Basque translation.
[empathy.git] / libempathy-gtk / empathy-cell-renderer-activatable.c
index 926b8cffad48dce0b212cff530f8ada99caa0fc2..fc218e88bac5a5978434cd61bdb2d2379e75a7e9 100644 (file)
@@ -1,34 +1,29 @@
 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
 /*
  * Copyright (C) 2007 Raphael Slinckx <raphael@slinckx.net>
- * Copyright (C) 2007 Collabora Ltd.
+ * Copyright (C) 2007-2008 Collabora Ltd.
  *
- * This program is free software; you can redistribute it and/or
- * modify it under the terms of the GNU General Public License as
- * published by the Free Software Foundation; either version 2 of the
- * License, or (at your option) any later version.
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
  *
- * This program is distributed in the hope that it will be useful,
+ * This library is distributed in the hope that it will be useful,
  * but WITHOUT ANY WARRANTY; without even the implied warranty of
  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
- * General Public License for more details.
+ * Lesser General Public License for more details.
  *
- * You should have received a copy of the GNU General Public
- * License along with this program; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
  *
  * Authors: Raphael Slinckx <raphael@slinckx.net>
  */
 
 #include <gtk/gtktreeview.h>
 
-#include <libempathy/empathy-debug.h>
-
 #include "empathy-cell-renderer-activatable.h"
 
-#define DEBUG_DOMAIN "CellRendererActivatable"
-
 static void     empathy_cell_renderer_activatable_init       (EmpathyCellRendererActivatable      *cell);
 static void     empathy_cell_renderer_activatable_class_init (EmpathyCellRendererActivatableClass *klass);
 static gboolean cell_renderer_activatable_activate           (GtkCellRenderer                     *cell,
@@ -98,7 +93,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;
        }