[evolution] EWeekView: Remove disabled debug output.
- From: Matthew Barnes <mbarnes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution] EWeekView: Remove disabled debug output.
- Date: Thu, 29 Nov 2012 19:09:49 +0000 (UTC)
commit e8181e9094b0cf0aa98676d52d7e5b3cea88a3b8
Author: Matthew Barnes <mbarnes redhat com>
Date: Thu Nov 29 11:13:36 2012 -0500
EWeekView: Remove disabled debug output.
Adding temporary printf() calls to aid in debugging is fine, but leaving
them in the code permanently is not useful, especially when maintenance
duties are passed on to others.
calendar/gui/e-week-view.c | 28 ----------------------------
1 files changed, 0 insertions(+), 28 deletions(-)
---
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c
index 1b11a92..574b79e 100644
--- a/calendar/gui/e-week-view.c
+++ b/calendar/gui/e-week-view.c
@@ -2421,14 +2421,6 @@ e_week_view_on_button_press (GtkWidget *widget,
{
gint x, y, day;
-#if 0
- g_print ("In e_week_view_on_button_press\n");
- if (event->type == GDK_2BUTTON_PRESS)
- g_print (" is a double-click\n");
- if (week_view->pressed_event_num != -1)
- g_print (" item is pressed\n");
-#endif
-
/* Convert the mouse position to a week & day. */
x = event->x;
y = event->y;
@@ -2502,10 +2494,6 @@ e_week_view_on_button_release (GtkWidget *widget,
GdkEventButton *event,
EWeekView *week_view)
{
-#if 0
- g_print ("In e_week_view_on_button_release\n");
-#endif
-
if (week_view->selection_drag_pos != E_WEEK_VIEW_DRAG_NONE) {
week_view->selection_drag_pos = E_WEEK_VIEW_DRAG_NONE;
gdk_pointer_ungrab (event->time);
@@ -2584,10 +2572,6 @@ e_week_view_on_motion (GtkWidget *widget,
{
gint x, y, day;
-#if 0
- g_print ("In e_week_view_on_motion\n");
-#endif
-
/* Convert the mouse position to a week & day. */
x = mevent->x;
y = mevent->y;
@@ -2674,10 +2658,6 @@ e_week_view_update_selection (EWeekView *week_view,
gint tmp_day;
gboolean need_redraw = FALSE;
-#if 0
- g_print ("Updating selection %i,%i\n", week, day);
-#endif
-
if (week_view->selection_drag_pos == E_WEEK_VIEW_DRAG_START) {
if (day != week_view->selection_start_day) {
need_redraw = TRUE;
@@ -3560,10 +3540,6 @@ e_week_view_on_text_item_event (GnomeCanvasItem *item,
pevent = tooltip_get_view_event (week_view, -1, nevent);
-#if 0
- g_print ("In e_week_view_on_text_item_event\n");
-#endif
-
switch (gdkevent->type) {
case GDK_KEY_PRESS:
tooltip_destroy (week_view, item);
@@ -3985,10 +3961,6 @@ e_week_view_on_editing_started (EWeekView *week_view,
&event_num, &span_num))
return;
-#if 0
- g_print ("In e_week_view_on_editing_started event_num:%i span_num:%i\n", event_num, span_num);
-#endif
-
week_view->editing_event_num = event_num;
week_view->editing_span_num = span_num;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]