Removed some debugging printfs.

2000-07-11  Christopher James Lahey  <clahey@helixcode.com>

	* e-canvas-vbox.c: Removed some debugging printfs.

	* e-canvas.c (e_canvas_unrealize): Call parent unrealize method.

svn path=/trunk/; revision=4102
This commit is contained in:
Christopher James Lahey
2000-07-12 01:16:42 +00:00
committed by Chris Lahey
parent 71cd8403b2
commit 4cd310350f
5 changed files with 18 additions and 6 deletions

View File

@ -1,3 +1,9 @@
2000-07-11 Christopher James Lahey <clahey@helixcode.com>
* e-canvas-vbox.c: Removed some debugging printfs.
* e-canvas.c (e_canvas_unrealize): Call parent unrealize method.
2000-07-10 Ettore Perazzoli <ettore@helixcode.com>
* e-sexp.c (eval_dump_result): `#if 0'ed out.

View File

@ -299,8 +299,6 @@ e_canvas_vbox_reflow( GnomeCanvasItem *item, int flags )
"height", &item_height,
NULL);
g_print ("%f\n", running_height);
e_canvas_item_move_absolute(GNOME_CANVAS_ITEM(list->data),
(double) 0,
(double) running_height);

View File

@ -348,12 +348,15 @@ static gint
e_canvas_focus_out (GtkWidget *widget, GdkEventFocus *event)
{
GnomeCanvas *canvas;
ECanvas *ecanvas;
canvas = GNOME_CANVAS (widget);
ecanvas = E_CANVAS (widget);
GTK_WIDGET_UNSET_FLAGS (widget, GTK_HAS_FOCUS);
gdk_im_end ();
if (ecanvas->ic)
gdk_im_end ();
if (canvas->focused_item)
return emit_event (canvas, (GdkEvent *) event);
@ -410,6 +413,8 @@ e_canvas_unrealize (GtkWidget *widget)
gdk_ic_attr_destroy (ecanvas->ic_attr);
ecanvas->ic_attr = NULL;
}
if (GTK_WIDGET_CLASS (parent_class)->unrealize)
(* GTK_WIDGET_CLASS (parent_class)->unrealize) (widget);
}
static void

View File

@ -299,8 +299,6 @@ e_canvas_vbox_reflow( GnomeCanvasItem *item, int flags )
"height", &item_height,
NULL);
g_print ("%f\n", running_height);
e_canvas_item_move_absolute(GNOME_CANVAS_ITEM(list->data),
(double) 0,
(double) running_height);

View File

@ -348,12 +348,15 @@ static gint
e_canvas_focus_out (GtkWidget *widget, GdkEventFocus *event)
{
GnomeCanvas *canvas;
ECanvas *ecanvas;
canvas = GNOME_CANVAS (widget);
ecanvas = E_CANVAS (widget);
GTK_WIDGET_UNSET_FLAGS (widget, GTK_HAS_FOCUS);
gdk_im_end ();
if (ecanvas->ic)
gdk_im_end ();
if (canvas->focused_item)
return emit_event (canvas, (GdkEvent *) event);
@ -410,6 +413,8 @@ e_canvas_unrealize (GtkWidget *widget)
gdk_ic_attr_destroy (ecanvas->ic_attr);
ecanvas->ic_attr = NULL;
}
if (GTK_WIDGET_CLASS (parent_class)->unrealize)
(* GTK_WIDGET_CLASS (parent_class)->unrealize) (widget);
}
static void