From 70f69f3e0decff6f41edba68a807b9a4789625fe Mon Sep 17 00:00:00 2001 From: Anders Carlsson Date: Wed, 11 Oct 2000 07:24:03 +0000 Subject: Fix a small bug svn path=/trunk/; revision=5834 --- notes/e-note.c | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) (limited to 'notes/e-note.c') diff --git a/notes/e-note.c b/notes/e-note.c index 89c4497e14..642fd1178a 100644 --- a/notes/e-note.c +++ b/notes/e-note.c @@ -5,6 +5,7 @@ #include #include +#include #include #include @@ -289,7 +290,7 @@ e_note_init (ENote *note) "width", 150.0, NULL); e_canvas_item_move_absolute(priv->text_item, - 5, 25); + 5.0, 25.0); gtk_signal_connect (GTK_OBJECT (E_TEXT (priv->text_item)->model), "changed", GTK_SIGNAL_FUNC (e_note_text_changed), note); @@ -302,14 +303,14 @@ e_note_init (ENote *note) gtk_signal_connect (GTK_OBJECT (button), "motion_notify_event", GTK_SIGNAL_FUNC (e_note_move_motion_event), note); gtk_widget_show (button); - priv->move_button = gnome_canvas_item_new (gnome_canvas_root (GNOME_CANVAS (priv->canvas)), - gnome_canvas_widget_get_type (), - "widget", button, - "x", 3.0, - "y", 3.0, - "width", 20.0, - "height", 20.0, - NULL); + priv->move_button = gnome_canvas_item_new (gnome_canvas_root (GNOME_CANVAS (priv->canvas)), + gnome_canvas_widget_get_type (), + "widget", button, + "x", 3.0, + "y", 3.0, + "width", 20.0, + "height", 20.0, + NULL); button = e_bevel_button_new (); gtk_widget_show (button); priv->close_button = gnome_canvas_item_new (gnome_canvas_root (GNOME_CANVAS (priv->canvas)), -- cgit