[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Adding property to "line"



On Fri, Aug 08, 2003 at 06:21:46PM +0200, Cyrille Chepelov wrote:
> > It is on the "Standard - Line" that I want to achieve the double-line
> > feature. But even when I clear the line_draw() function from dia, the
> > "Standard - Line" still shows.
> > 
> > When I double-click on that line, I get the properties for it (and it sais
> > "Properties: Standard - Line") so I'm pretty sure I'm working with the
> > correct object :)
> 
> Hmmm. Are we talking about the right function? 
> Look at object/standard/line.c; the structure line_ops says that the 
> DrawFunc is line_draw. 
> 
> Try this patch:
> 
[...]

Patched, ran "make", and then issued "./app/dia" to test. This is the output
I receive when running the program:

"""
** (lt-dia:1694): WARNING **: No attribute type ((nil)) or no data((nil)) in
this attribute

(lt-dia:1694): GLib-GObject-CRITICAL **: file gobject.c: line 1337
(g_object_unref): assertion `G_IS_OBJECT (object)' failed
undo_depth = 15
recent_documents_list_size = 5
new_view_width = 500
new_view_height = 400
grid_major = 5
recent_sheet = 11
diagram_tree_dia_sort = 2
diagram_tree_obj_sort = 2
Thank you for using Dia.
"""

No kisses :(

Wkr,
	Sven Vermeulen

-- 
    Save some animals, eat a vegetarian.

PGP signature



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index] Mail converted by Mofo Magic and the Flying D

 
All trademarks and copyrights are the property of their respective owners.

Other Directory Sites: SeekWonder | Directory Owners Forum

GuideSMACK