Re: my first bonobo bugfix




Ok to commit, wiseguy.

Note that in general, there's no reason to use this function, since if
you use automerge, your dock will be removed anyways when you
bonobo_ui_handler_unset_container...

But I guess I can see special case reasons to use it.

And in any case, it's good to have the code make sense :-).

Nat

Dan Winship <danw@helixcode.com> writes:

> [Why do I suspect it won't be my last? :) ]
> 
> Does this really need a ChangeLog entry?
> 
> Index: bonobo-uih-dock.c
> ===================================================================
> RCS file: /cvs/gnome/bonobo/bonobo/bonobo-uih-dock.c,v
> retrieving revision 1.1
> diff -u -r1.1 bonobo-uih-dock.c
> --- bonobo-uih-dock.c	2000/02/16 05:26:56	1.1
> +++ bonobo-uih-dock.c	2000/03/30 00:12:06
> @@ -381,8 +381,7 @@
>  bonobo_ui_handler_dock_remove (BonoboUIHandler *uih,
>  			       const char      *name)
>  {
> -	g_return_val_if_fail (uih != NULL,                 FALSE);
> -	g_return_val_if_fail (BONOBO_IS_UI_HANDLER (name), FALSE);
> +	g_return_val_if_fail (BONOBO_IS_UI_HANDLER (uih),  FALSE);
>  	g_return_val_if_fail (name != NULL,                FALSE);
>  
>  	if (uih->top_level_uih != CORBA_OBJECT_NIL)
> 
> 
> -- 
>         FAQ: Frequently-Asked Questions at http://www.gnome.org/gnomefaq
>          To unsubscribe: mail gnome-components-list-request@gnome.org with 
>                        "unsubscribe" as the Subject.



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