From 4fb60b25ad3cb3f2eb883f7fff949f9394a49aaa Mon Sep 17 00:00:00 2001 From: Jim Evins Date: Sat, 19 Jul 2003 00:25:01 +0000 Subject: [PATCH] Fixes crash on XD2: start with an object size of 1pt x 1pt, instead of 0 x 0. git-svn-id: https://glabels.svn.sourceforge.net/svnroot/glabels/trunk@269 f5e0f49d-192f-0410-a22d-a8d8700d0965 --- glabels2/src/view-image.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/glabels2/src/view-image.c b/glabels2/src/view-image.c index 89bf682c..5ae36970 100644 --- a/glabels2/src/view-image.c +++ b/glabels2/src/view-image.c @@ -629,8 +629,6 @@ gl_view_image_create_event_handler (GnomeCanvas *canvas, static gboolean dragging = FALSE; static glViewObject *view_image; static GObject *object; - gdouble line_width; - guint line_color, fill_color; gdouble x, y, w, h; gl_debug (DEBUG_VIEW, ""); @@ -653,7 +651,7 @@ gl_view_image_create_event_handler (GnomeCanvas *canvas, gl_label_object_set_position (GL_LABEL_OBJECT(object), x, y); gl_label_object_set_size (GL_LABEL_OBJECT(object), - 0.0, 0.0); + 1.0, 1.0); view_image = gl_view_image_new (GL_LABEL_IMAGE(object), view); x0 = x; -- 2.39.5