Re: stylist runtime warning patch

From: Dom Lachowicz <domlachowicz_at_yahoo.com>
Date: Sat Oct 02 2004 - 02:11:32 CEST

Committed. Thanks.

--- robsta@stereolyzer.net wrote:

>
> One-liner to get rid of a gtk runtime warning when
> opening the
> stylist.
>
> Rob> Index:
abi/src/wp/ap/unix/ap_UnixDialog_Stylist.cpp
>
===================================================================
> RCS file:
>
/cvsroot/abi/src/wp/ap/unix/ap_UnixDialog_Stylist.cpp,v
> retrieving revision 1.10
> diff -u -r1.10 ap_UnixDialog_Stylist.cpp
> --- abi/src/wp/ap/unix/ap_UnixDialog_Stylist.cpp 11
> Apr 2004 18:02:28 -0000 1.10
> +++ abi/src/wp/ap/unix/ap_UnixDialog_Stylist.cpp 29
> Sep 2004 12:48:21 -0000
> @@ -53,6 +53,7 @@
> GValue value = {0,};
> gtk_tree_model_get_value (model, &iter,1,&value);
> row = g_value_get_int(&value);
> + g_value_unset (&value);
> gtk_tree_model_get_value (model, &iter,2,&value);
> col = g_value_get_int(&value);
> dlg->styleClicked(row,col);
>

                
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
Received on Sat Oct 2 02:10:55 2004

This archive was generated by hypermail 2.1.8 : Sat Oct 02 2004 - 02:10:55 CEST