aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2012-11-30 00:13:36 +0800
committerMatthew Barnes <mbarnes@redhat.com>2012-11-30 00:15:15 +0800
commite8181e9094b0cf0aa98676d52d7e5b3cea88a3b8 (patch)
treef392968bac351e253e67f3038e346e8dc5f910df
parent6e1a1d1e372dc64e9a1ab45542ed8bef6baf077b (diff)
downloadgsoc2013-evolution-e8181e9094b0cf0aa98676d52d7e5b3cea88a3b8.tar
gsoc2013-evolution-e8181e9094b0cf0aa98676d52d7e5b3cea88a3b8.tar.gz
gsoc2013-evolution-e8181e9094b0cf0aa98676d52d7e5b3cea88a3b8.tar.bz2
gsoc2013-evolution-e8181e9094b0cf0aa98676d52d7e5b3cea88a3b8.tar.lz
gsoc2013-evolution-e8181e9094b0cf0aa98676d52d7e5b3cea88a3b8.tar.xz
gsoc2013-evolution-e8181e9094b0cf0aa98676d52d7e5b3cea88a3b8.tar.zst
gsoc2013-evolution-e8181e9094b0cf0aa98676d52d7e5b3cea88a3b8.zip
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.
-rw-r--r--calendar/gui/e-week-view.c28
1 files changed, 0 insertions, 28 deletions
diff --git a/calendar/gui/e-week-view.c b/calendar/gui/e-week-view.c
index 1b11a92c43..574b79efab 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;