Re: copy GVariant
- From: Povietkin Konstantin <povetkin k gmail com>
- To: Murray Cumming <murrayc murrayc com>
- Cc: GTKMM-List <gtkmm-list gnome org>
- Subject: Re: copy GVariant
- Date: Mon, 07 Feb 2011 23:07:28 +0200
I asked this question because i needed a c++ class that was using
GVariant c-object.
My solution is simple:
GVariant * first;
GVariant * second;
first = g_variant_new_string( "Тестовая строка" );
second = g_variant_new_parsed( g_variant_print( first, TRUE ) );
В Пнд, 07/02/2011 в 20:52 +0100, Murray Cumming пишет:
> On Mon, 2011-02-07 at 17:09 +0200, Povietkin Konstantin wrote:
> > Is there any way to make a _copy_ of an GVariant object?
>
> This mailing list is for the gtkmm API. Questions about the C APIs would
> be more appropriate on gtk-list, for instance.
>
--
"No Civilization = Freedom"
------------------------------------------------------------------------
Yes, I am a criminal. My crime is that of curiosity.
My crime is that of judging people by what they say and think, not what
they look like.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]