/usr/share/gtk-doc/html/dconf/dconf-DConfChangeset.html is in libdconf-doc 0.26.0-2ubuntu3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 | <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>DConfChangeset: dconf Reference Manual</title>
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="index.html" title="dconf Reference Manual">
<link rel="up" href="ch01.html" title="DConf Client API">
<link rel="prev" href="dconf-dconf-Paths.html" title="dconf Paths">
<link rel="next" href="DConfClient.html" title="DConfClient">
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="5"><tr valign="middle">
<td width="100%" align="left" class="shortcuts">
<a href="#" class="shortcut">Top</a><span id="nav_description"> <span class="dim">|</span>
<a href="#dconf-DConfChangeset.description" class="shortcut">Description</a></span>
</td>
<td><a accesskey="h" href="index.html"><img src="home.png" width="16" height="16" border="0" alt="Home"></a></td>
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="16" height="16" border="0" alt="Up"></a></td>
<td><a accesskey="p" href="dconf-dconf-Paths.html"><img src="left.png" width="16" height="16" border="0" alt="Prev"></a></td>
<td><a accesskey="n" href="DConfClient.html"><img src="right.png" width="16" height="16" border="0" alt="Next"></a></td>
</tr></table>
<div class="refentry">
<a name="dconf-DConfChangeset"></a><div class="titlepage"></div>
<div class="refnamediv"><table width="100%"><tr>
<td valign="top">
<h2><span class="refentrytitle"><a name="dconf-DConfChangeset.top_of_page"></a>DConfChangeset</span></h2>
<p>DConfChangeset — A set of changes to a dconf database</p>
</td>
<td class="gallery_image" valign="top" align="right"></td>
</tr></table></div>
<div class="refsect1">
<a name="dconf-DConfChangeset.functions"></a><h2>Functions</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="functions_return">
<col class="functions_name">
</colgroup>
<tbody>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<span class="c_punctuation">(</span><a href="dconf-DConfChangeset.html#DConfChangesetPredicate">*DConfChangesetPredicate</a><span class="c_punctuation">)</span> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a href="dconf-DConfChangeset.html#dconf-changeset-all">dconf_changeset_all</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a href="dconf-DConfChangeset.html#dconf-changeset-change">dconf_changeset_change</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
</td>
<td class="function_name">
<a href="dconf-DConfChangeset.html#dconf-changeset-describe">dconf_changeset_describe</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="dconf-DConfChangeset.html#DConfChangeset"><span class="returnvalue">DConfChangeset</span></a> *
</td>
<td class="function_name">
<a href="dconf-DConfChangeset.html#dconf-changeset-deserialise">dconf_changeset_deserialise</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="dconf-DConfChangeset.html#DConfChangeset"><span class="returnvalue">DConfChangeset</span></a> *
</td>
<td class="function_name">
<a href="dconf-DConfChangeset.html#dconf-changeset-diff">dconf_changeset_diff</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a href="dconf-DConfChangeset.html#dconf-changeset-get">dconf_changeset_get</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a href="dconf-DConfChangeset.html#dconf-changeset-is-empty">dconf_changeset_is_empty</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
</td>
<td class="function_name">
<a href="dconf-DConfChangeset.html#dconf-changeset-is-similar-to">dconf_changeset_is_similar_to</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="dconf-DConfChangeset.html#DConfChangeset"><span class="returnvalue">DConfChangeset</span></a> *
</td>
<td class="function_name">
<a href="dconf-DConfChangeset.html#dconf-changeset-new">dconf_changeset_new</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="dconf-DConfChangeset.html#DConfChangeset"><span class="returnvalue">DConfChangeset</span></a> *
</td>
<td class="function_name">
<a href="dconf-DConfChangeset.html#dconf-changeset-new-database">dconf_changeset_new_database</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="dconf-DConfChangeset.html#DConfChangeset"><span class="returnvalue">DConfChangeset</span></a> *
</td>
<td class="function_name">
<a href="dconf-DConfChangeset.html#dconf-changeset-new-write">dconf_changeset_new_write</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="dconf-DConfChangeset.html#DConfChangeset"><span class="returnvalue">DConfChangeset</span></a> *
</td>
<td class="function_name">
<a href="dconf-DConfChangeset.html#dconf-changeset-ref">dconf_changeset_ref</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<a href="../glib/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
</td>
<td class="function_name">
<a href="dconf-DConfChangeset.html#dconf-changeset-serialise">dconf_changeset_serialise</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a href="dconf-DConfChangeset.html#dconf-changeset-set">dconf_changeset_set</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a href="dconf-DConfChangeset.html#dconf-changeset-unref">dconf_changeset_unref</a> <span class="c_punctuation">()</span>
</td>
</tr>
<tr>
<td class="function_type">
<span class="returnvalue">void</span>
</td>
<td class="function_name">
<a href="dconf-DConfChangeset.html#dconf-changeset-seal">dconf_changeset_seal</a> <span class="c_punctuation">()</span>
</td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect1">
<a name="dconf-DConfChangeset.other"></a><h2>Types and Values</h2>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="name">
<col class="description">
</colgroup>
<tbody><tr>
<td class="datatype_keyword"> </td>
<td class="function_name"><a href="dconf-DConfChangeset.html#DConfChangeset">DConfChangeset</a></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect1">
<a name="dconf-DConfChangeset.description"></a><h2>Description</h2>
<p><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> represents a set of changes that can be made to a
dconf database. Currently supported operations are writing new
values to keys and resetting keys and dirs.</p>
<p>Create the changeset with <a href="dconf-DConfChangeset.html#dconf-changeset-new"><code class="function">dconf_changeset_new()</code></a> and populate it with
<a href="dconf-DConfChangeset.html#dconf-changeset-set"><code class="function">dconf_changeset_set()</code></a>. Submit it to dconf with
<a href="DConfClient.html#dconf-client-change-fast"><code class="function">dconf_client_change_fast()</code></a> or <a href="DConfClient.html#dconf-client-change-sync"><code class="function">dconf_client_change_sync()</code></a>.
<a href="dconf-DConfChangeset.html#dconf-changeset-new-write"><code class="function">dconf_changeset_new_write()</code></a> is a convenience constructor for the
common case of writing or resetting a single value.</p>
</div>
<div class="refsect1">
<a name="dconf-DConfChangeset.functions_details"></a><h2>Functions</h2>
<div class="refsect2">
<a name="DConfChangesetPredicate"></a><h3>DConfChangesetPredicate ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
<span class="c_punctuation">(</span>*DConfChangesetPredicate<span class="c_punctuation">)</span> (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
<em class="parameter"><code><a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *value</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Callback function type for predicates over items in a
<a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a>.</p>
<p>Use with <a href="dconf-DConfChangeset.html#dconf-changeset-all"><code class="function">dconf_changeset_all()</code></a>.</p>
<div class="refsect3">
<a name="DConfChangesetPredicate.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>a path, as per <a href="dconf-dconf-Paths.html#dconf-is-path"><code class="function">dconf_is_path()</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a <a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data pointer</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="DConfChangesetPredicate.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the predicate is met for the given <em class="parameter"><code>path</code></em>
and <em class="parameter"><code>value</code></em>
</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-changeset-all"></a><h3>dconf_changeset_all ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
dconf_changeset_all (<em class="parameter"><code><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> *changeset</code></em>,
<em class="parameter"><code><a href="dconf-DConfChangeset.html#DConfChangesetPredicate"><span class="type">DConfChangesetPredicate</span></a> predicate</code></em>,
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data</code></em>);</pre>
<p>Checks if all changes in the changeset satisfy <em class="parameter"><code>predicate</code></em>
.</p>
<p><em class="parameter"><code>predicate</code></em>
is called on each item in the changeset, in turn, until it
returns <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>.</p>
<p>If <em class="parameter"><code>predicate</code></em>
returns <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> for any item, this function returns
<a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>. If not (including the case of no items) then this function
returns <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
<div class="refsect3">
<a name="dconf-changeset-all.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>changeset</p></td>
<td class="parameter_description"><p>a <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>predicate</p></td>
<td class="parameter_description"><p>a <a href="dconf-DConfChangeset.html#DConfChangesetPredicate"><span class="type">DConfChangesetPredicate</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>user_data</p></td>
<td class="parameter_description"><p>user data to pass to <em class="parameter"><code>predicate</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="dconf-changeset-all.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if all items in <em class="parameter"><code>changeset</code></em>
satisfy <em class="parameter"><code>predicate</code></em>
</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-changeset-change"></a><h3>dconf_changeset_change ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
dconf_changeset_change (<em class="parameter"><code><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> *changeset</code></em>,
<em class="parameter"><code><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> *changes</code></em>);</pre>
<p>Applies <em class="parameter"><code>changes</code></em>
to <em class="parameter"><code>changeset</code></em>
.</p>
<p>If <em class="parameter"><code>changeset</code></em>
is a normal changeset then reset requests in <em class="parameter"><code>changes</code></em>
will be allied to <em class="parameter"><code>changeset</code></em>
and then copied down into it. In this
case the two changesets are effectively being merged.</p>
<p>If <em class="parameter"><code>changeset</code></em>
is in database mode then the reset operations in
<em class="parameter"><code>changes</code></em>
will simply be applied to <em class="parameter"><code>changeset</code></em>
.</p>
<div class="refsect3">
<a name="dconf-changeset-change.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>changeset</p></td>
<td class="parameter_description"><p>a <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> (to be changed)</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>changes</p></td>
<td class="parameter_description"><p>the changes to make to <em class="parameter"><code>changeset</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<p class="since">Since: 0.16</p>
</div>
<hr>
<div class="refsect2">
<a name="dconf-changeset-describe"></a><h3>dconf_changeset_describe ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#guint"><span class="returnvalue">guint</span></a>
dconf_changeset_describe (<em class="parameter"><code><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> *changeset</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> **prefix</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> * const **paths</code></em>,
<em class="parameter"><code><a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> * const **values</code></em>);</pre>
<p>Describes <em class="parameter"><code>changeset</code></em>
.</p>
<p><em class="parameter"><code>prefix</code></em>
and <em class="parameter"><code>paths</code></em>
are presented in the same way as they are for the
DConfClient::changed signal. <em class="parameter"><code>values</code></em>
is an array of the same length
as <em class="parameter"><code>paths</code></em>
. For each key described by an element in <em class="parameter"><code>paths</code></em>
, <em class="parameter"><code>values</code></em>
will contain either a <a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> (the requested new value of that key)
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> (to reset a reset).</p>
<p>The <em class="parameter"><code>paths</code></em>
array is returned in an order such that dir will always
come before keys contained within those dirs.</p>
<p>If <em class="parameter"><code>changeset</code></em>
is not already sealed then this call will implicitly
seal it. See <a href="dconf-DConfChangeset.html#dconf-changeset-seal"><code class="function">dconf_changeset_seal()</code></a>.</p>
<div class="refsect3">
<a name="dconf-changeset-describe.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>changeset</p></td>
<td class="parameter_description"><p>a <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>prefix</p></td>
<td class="parameter_description"><p>the prefix under which changes have been requested</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>paths</p></td>
<td class="parameter_description"><p>the list of paths changed, relative to <em class="parameter"><code>prefix</code></em>
</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>values</p></td>
<td class="parameter_description"><p>the list of values changed</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="dconf-changeset-describe.returns"></a><h4>Returns</h4>
<p> the number of changes (the length of <em class="parameter"><code>changes</code></em>
and <em class="parameter"><code>values</code></em>
).</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-changeset-deserialise"></a><h3>dconf_changeset_deserialise ()</h3>
<pre class="programlisting"><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="returnvalue">DConfChangeset</span></a> *
dconf_changeset_deserialise (<em class="parameter"><code><a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *serialised</code></em>);</pre>
<p>Creates a <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> according to a serialised description
returned from an earlier call to <a href="dconf-DConfChangeset.html#dconf-changeset-serialise"><code class="function">dconf_changeset_serialise()</code></a>.</p>
<p><em class="parameter"><code>serialised</code></em>
has no particular format -- you should only pass a value
that resulted from an earlier serialise operation.</p>
<p>This call never fails, even if <em class="parameter"><code>serialised</code></em>
is not in the correct
format. Improperly-formatted parts are simply ignored.</p>
<div class="refsect3">
<a name="dconf-changeset-deserialise.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>serialised</p></td>
<td class="parameter_description"><p>a <a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> from <a href="dconf-DConfChangeset.html#dconf-changeset-serialise"><code class="function">dconf_changeset_serialise()</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="dconf-changeset-deserialise.returns"></a><h4>Returns</h4>
<p> a new <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-changeset-diff"></a><h3>dconf_changeset_diff ()</h3>
<pre class="programlisting"><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="returnvalue">DConfChangeset</span></a> *
dconf_changeset_diff (<em class="parameter"><code><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> *from</code></em>,
<em class="parameter"><code><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> *to</code></em>);</pre>
<p>Compares to database-mode changesets and produces a changeset that
describes their differences.</p>
<p>If there is no difference, <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> is returned.</p>
<p>Applying the returned changeset to <em class="parameter"><code>from</code></em>
using
<a href="dconf-DConfChangeset.html#dconf-changeset-change"><code class="function">dconf_changeset_change()</code></a> will result in the two changesets being
equal.</p>
<div class="refsect3">
<a name="dconf-changeset-diff.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>from</p></td>
<td class="parameter_description"><p>a database mode changeset</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>to</p></td>
<td class="parameter_description"><p>a database mode changeset</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="dconf-changeset-diff.returns"></a><h4>Returns</h4>
<p>the changes, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
</div>
<p class="since">Since: 0.16</p>
</div>
<hr>
<div class="refsect2">
<a name="dconf-changeset-get"></a><h3>dconf_changeset_get ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
dconf_changeset_get (<em class="parameter"><code><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> *changeset</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *key</code></em>,
<em class="parameter"><code><a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> **value</code></em>);</pre>
<p>Checks if a <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> has an outstanding request to change
the value of the given <em class="parameter"><code>key</code></em>
.</p>
<p>If the change doesn't involve <em class="parameter"><code>key</code></em>
then <a href="../glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> is returned and the
<em class="parameter"><code>value</code></em>
is unmodified.</p>
<p>If the change modifies <em class="parameter"><code>key</code></em>
then <em class="parameter"><code>value</code></em>
is set either to the value
for that key, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> in the case that the key is being reset by the
request.</p>
<div class="refsect3">
<a name="dconf-changeset-get.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>changeset</p></td>
<td class="parameter_description"><p>a <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>key</p></td>
<td class="parameter_description"><p>the key to check</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a return location for the value, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="dconf-changeset-get.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the key is being modified by the change</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-changeset-is-empty"></a><h3>dconf_changeset_is_empty ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
dconf_changeset_is_empty (<em class="parameter"><code><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> *changeset</code></em>);</pre>
<p>Checks if <em class="parameter"><code>changeset</code></em>
is empty (ie: contains no changes).</p>
<div class="refsect3">
<a name="dconf-changeset-is-empty.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>changeset</p></td>
<td class="parameter_description"><p>a <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="dconf-changeset-is-empty.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if <em class="parameter"><code>changeset</code></em>
is empty</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-changeset-is-similar-to"></a><h3>dconf_changeset_is_similar_to ()</h3>
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
dconf_changeset_is_similar_to (<em class="parameter"><code><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> *changeset</code></em>,
<em class="parameter"><code><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> *other</code></em>);</pre>
<p>Checks if <em class="parameter"><code>changeset</code></em>
is similar to <em class="parameter"><code>other</code></em>
.</p>
<p>Two changes are considered similar if they write to the exact same
set of keys. The values written are not considered.</p>
<p>This check is used to prevent building up a queue of repeated writes
of the same keys. This is often seen when an application writes to a
key on every move of a slider or an application window.</p>
<p>Strictly speaking, a write resettings all of "/a/" after a write
containing "/a/b" could cause the later to be removed from the queue,
but this situation is difficult to detect and is expected to be
extremely rare.</p>
<div class="refsect3">
<a name="dconf-changeset-is-similar-to.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>changeset</p></td>
<td class="parameter_description"><p>a <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>other</p></td>
<td class="parameter_description"><p>another <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="dconf-changeset-is-similar-to.returns"></a><h4>Returns</h4>
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the changes are similar</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-changeset-new"></a><h3>dconf_changeset_new ()</h3>
<pre class="programlisting"><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="returnvalue">DConfChangeset</span></a> *
dconf_changeset_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>Creates a new, empty, <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a>.</p>
<div class="refsect3">
<a name="dconf-changeset-new.returns"></a><h4>Returns</h4>
<p> the new <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a>.</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-changeset-new-database"></a><h3>dconf_changeset_new_database ()</h3>
<pre class="programlisting"><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="returnvalue">DConfChangeset</span></a> *
dconf_changeset_new_database (<em class="parameter"><code><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> *copy_of</code></em>);</pre>
<p>Creates a new <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> in "database" mode, possibly
initialising it with the values of another changeset.</p>
<p>In a certain sense it's possible to imagine that a <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a>
could express the contents of an entire dconf database -- the
contents are the database are what you would have if you applied the
changeset to an empty database. One thing that fails to map in this
analogy are reset operations -- if we start with an empty database
then reset operations are meaningless.</p>
<p>A "database" mode changeset is therefore a changeset which is
incapable of containing reset operations.</p>
<p>It is not permitted to use a database-mode changeset for most
operations (such as the <em class="parameter"><code>change</code></em>
argument to <a href="dconf-DConfChangeset.html#dconf-changeset-change"><code class="function">dconf_changeset_change()</code></a>
or the <em class="parameter"><code>changeset</code></em>
argument to <a href="DConfClient.html#DConfClient-struct"><span class="type">DConfClient</span></a> APIs).</p>
<p>If <em class="parameter"><code>copy_of</code></em>
is non-<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> then its contents will be copied into the
created changeset. <em class="parameter"><code>copy_of</code></em>
must be a database-mode changeset.</p>
<div class="refsect3">
<a name="dconf-changeset-new-database.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>copy_of</p></td>
<td class="parameter_description"><p>a <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> to copy. </p></td>
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="dconf-changeset-new-database.returns"></a><h4>Returns</h4>
<p> a new <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> in "database" mode</p>
</div>
<p class="since">Since: 0.16</p>
</div>
<hr>
<div class="refsect2">
<a name="dconf-changeset-new-write"></a><h3>dconf_changeset_new_write ()</h3>
<pre class="programlisting"><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="returnvalue">DConfChangeset</span></a> *
dconf_changeset_new_write (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
<em class="parameter"><code><a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
<p>Creates a new <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> with one change. This is equivalent to
calling <a href="dconf-DConfChangeset.html#dconf-changeset-new"><code class="function">dconf_changeset_new()</code></a> and then <a href="dconf-DConfChangeset.html#dconf-changeset-set"><code class="function">dconf_changeset_set()</code></a> with
<em class="parameter"><code>path</code></em>
and <em class="parameter"><code>value</code></em>
.</p>
<div class="refsect3">
<a name="dconf-changeset-new-write.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>a dconf path</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>a <a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
<div class="refsect3">
<a name="dconf-changeset-new-write.returns"></a><h4>Returns</h4>
<p> a new <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-changeset-ref"></a><h3>dconf_changeset_ref ()</h3>
<pre class="programlisting"><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="returnvalue">DConfChangeset</span></a> *
dconf_changeset_ref (<em class="parameter"><code><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> *changeset</code></em>);</pre>
<p>Increases the reference count on <em class="parameter"><code>changeset</code></em>
</p>
<div class="refsect3">
<a name="dconf-changeset-ref.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>changeset</p></td>
<td class="parameter_description"><p>a <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="dconf-changeset-ref.returns"></a><h4>Returns</h4>
<p> <em class="parameter"><code>changeset</code></em>
</p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-changeset-serialise"></a><h3>dconf_changeset_serialise ()</h3>
<pre class="programlisting"><a href="../glib/glib-GVariant.html#GVariant"><span class="returnvalue">GVariant</span></a> *
dconf_changeset_serialise (<em class="parameter"><code><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> *changeset</code></em>);</pre>
<p>Serialises a <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a>.</p>
<p>The returned value has no particular format and should only be passed
to <a href="dconf-DConfChangeset.html#dconf-changeset-deserialise"><code class="function">dconf_changeset_deserialise()</code></a>.</p>
<div class="refsect3">
<a name="dconf-changeset-serialise.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>changeset</p></td>
<td class="parameter_description"><p>a <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<div class="refsect3">
<a name="dconf-changeset-serialise.returns"></a><h4>Returns</h4>
<p> a floating <a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a></p>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-changeset-set"></a><h3>dconf_changeset_set ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
dconf_changeset_set (<em class="parameter"><code><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> *changeset</code></em>,
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *path</code></em>,
<em class="parameter"><code><a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> *value</code></em>);</pre>
<p>Adds an operation to modify <em class="parameter"><code>path</code></em>
to a <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a>.</p>
<p><em class="parameter"><code>path</code></em>
may either be a key or a dir. If it is a key then <em class="parameter"><code>value</code></em>
may
be a <a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> (to set or reset the key).</p>
<p>If <em class="parameter"><code>path</code></em>
is a dir then this must be a reset operation: <em class="parameter"><code>value</code></em>
must be
<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. It is not permitted to assign a <a href="../glib/glib-GVariant.html#GVariant"><span class="type">GVariant</span></a> value to a dir.</p>
<div class="refsect3">
<a name="dconf-changeset-set.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody>
<tr>
<td class="parameter_name"><p>changeset</p></td>
<td class="parameter_description"><p>a <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>path</p></td>
<td class="parameter_description"><p>a path to modify</p></td>
<td class="parameter_annotations"> </td>
</tr>
<tr>
<td class="parameter_name"><p>value</p></td>
<td class="parameter_description"><p>the value for the key, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to reset</p></td>
<td class="parameter_annotations"> </td>
</tr>
</tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-changeset-unref"></a><h3>dconf_changeset_unref ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
dconf_changeset_unref (<em class="parameter"><code><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> *changeset</code></em>);</pre>
<p>Releases a <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> reference.</p>
<div class="refsect3">
<a name="dconf-changeset-unref.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>changeset</p></td>
<td class="parameter_description"><p>a <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
</div>
<hr>
<div class="refsect2">
<a name="dconf-changeset-seal"></a><h3>dconf_changeset_seal ()</h3>
<pre class="programlisting"><span class="returnvalue">void</span>
dconf_changeset_seal (<em class="parameter"><code><a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> *changeset</code></em>);</pre>
<p>Seals <em class="parameter"><code>changeset</code></em>
.</p>
<p>When a <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a> is first created, it is mutable and
non-threadsafe. Once the changeset is populated with the required
changes, it can be shared between multiple threads, but only by
making it immutable by "sealing" it.</p>
<p>After the changeset is sealed, you cannot call <a href="dconf-DConfChangeset.html#dconf-changeset-set"><code class="function">dconf_changeset_set()</code></a>
or any other functions that would modify it. It is safe, however, to
share it between multiple threads.</p>
<p>All changesets are unsealed on creation, including those that are
made by copying changesets that are sealed.
<a href="dconf-DConfChangeset.html#dconf-changeset-describe"><code class="function">dconf_changeset_describe()</code></a> will implicitly seal a changeset.</p>
<p>This function is idempotent.</p>
<div class="refsect3">
<a name="dconf-changeset-seal.parameters"></a><h4>Parameters</h4>
<div class="informaltable"><table class="informaltable" width="100%" border="0">
<colgroup>
<col width="150px" class="parameters_name">
<col class="parameters_description">
<col width="200px" class="parameters_annotations">
</colgroup>
<tbody><tr>
<td class="parameter_name"><p>changeset</p></td>
<td class="parameter_description"><p>a <a href="dconf-DConfChangeset.html#DConfChangeset"><span class="type">DConfChangeset</span></a></p></td>
<td class="parameter_annotations"> </td>
</tr></tbody>
</table></div>
</div>
<p class="since">Since: 0.18</p>
</div>
</div>
<div class="refsect1">
<a name="dconf-DConfChangeset.other_details"></a><h2>Types and Values</h2>
<div class="refsect2">
<a name="DConfChangeset"></a><h3>DConfChangeset</h3>
<pre class="programlisting">typedef struct _DConfChangeset DConfChangeset;</pre>
<p>This is a reference counted opaque structure type. It is not a
<a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct"><span class="type">GObject</span></a>.</p>
<p>Use <a href="dconf-DConfChangeset.html#dconf-changeset-ref"><code class="function">dconf_changeset_ref()</code></a> and <a href="dconf-DConfChangeset.html#dconf-changeset-unref"><code class="function">dconf_changeset_unref()</code></a> to manipulate
references.</p>
</div>
</div>
</div>
<div class="footer">
<hr>Generated by GTK-Doc V1.27</div>
</body>
</html>
|