Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 784272
Collapse All | Expand All

(-)a/x11-libs/colord-gtk/colord-gtk-0.2.0.ebuild (+5 lines)
Lines 42-47 PATCHES=( Link Here
42
	"${FILESDIR}/${P}-optional-introspection.patch"
42
	"${FILESDIR}/${P}-optional-introspection.patch"
43
)
43
)
44
44
45
pkg_preinst() {
46
	insinto /usr/share/gir-1.0
47
	doins "${FILESDIR}/ColordGtk-1.0.gir"
48
}
49
45
src_prepare() {
50
src_prepare() {
46
	use vala && vala_src_prepare
51
	use vala && vala_src_prepare
47
	default
52
	default
(-)a/x11-libs/colord-gtk/files/ColordGtk-1.0.gir (-1 / +679 lines)
Line 0 Link Here
0
- 
1
<?xml version="1.0"?>
2
<!-- This file was automatically generated from C sources - DO NOT EDIT!
3
To affect the contents of this file, edit the original C definitions,
4
and/or use gtk-doc annotations.  -->
5
<repository version="1.2"
6
            xmlns="http://www.gtk.org/introspection/core/1.0"
7
            xmlns:c="http://www.gtk.org/introspection/c/1.0"
8
            xmlns:glib="http://www.gtk.org/introspection/glib/1.0">
9
  <include name="Colord" version="1.0"/>
10
  <include name="GObject" version="2.0"/>
11
  <include name="Gio" version="2.0"/>
12
  <include name="Gtk" version="3.0"/>
13
  <package name="colord-gtk"/>
14
  <c:include name="colord-gtk.h"/>
15
  <namespace name="ColordGtk"
16
             version="1.0"
17
             shared-library="libcolord-gtk.so.1"
18
             c:identifier-prefixes="Cd"
19
             c:symbol-prefixes="cd">
20
    <function-macro name="CHECK_VERSION"
21
                    c:identifier="CD_CHECK_VERSION"
22
                    introspectable="0">
23
      <source-position filename="../libcolord-gtk/cd-version.h" line="66"/>
24
      <parameters>
25
        <parameter name="major">
26
        </parameter>
27
        <parameter name="minor">
28
        </parameter>
29
        <parameter name="micro">
30
        </parameter>
31
      </parameters>
32
    </function-macro>
33
    <constant name="GTK_MAJOR_VERSION" value="0" c:type="CD_GTK_MAJOR_VERSION">
34
      <source-position filename="../libcolord-gtk/cd-version.h" line="44"/>
35
      <type name="gint" c:type="gint"/>
36
    </constant>
37
    <constant name="GTK_MICRO_VERSION" value="0" c:type="CD_GTK_MICRO_VERSION">
38
      <source-position filename="../libcolord-gtk/cd-version.h" line="58"/>
39
      <type name="gint" c:type="gint"/>
40
    </constant>
41
    <constant name="GTK_MINOR_VERSION" value="2" c:type="CD_GTK_MINOR_VERSION">
42
      <source-position filename="../libcolord-gtk/cd-version.h" line="51"/>
43
      <type name="gint" c:type="gint"/>
44
    </constant>
45
    <function-macro name="IS_SAMPLE_WIDGET"
46
                    c:identifier="CD_IS_SAMPLE_WIDGET"
47
                    introspectable="0">
48
      <source-position filename="../libcolord-gtk/cd-sample-widget.h"
49
                       line="37"/>
50
      <parameters>
51
        <parameter name="obj">
52
        </parameter>
53
      </parameters>
54
    </function-macro>
55
    <function-macro name="IS_SAMPLE_WIDGET_CLASS"
56
                    c:identifier="CD_IS_SAMPLE_WIDGET_CLASS"
57
                    introspectable="0">
58
      <source-position filename="../libcolord-gtk/cd-sample-widget.h"
59
                       line="38"/>
60
      <parameters>
61
        <parameter name="obj">
62
        </parameter>
63
      </parameters>
64
    </function-macro>
65
    <function-macro name="IS_SAMPLE_WINDOW"
66
                    c:identifier="CD_IS_SAMPLE_WINDOW"
67
                    introspectable="0">
68
      <source-position filename="../libcolord-gtk/cd-sample-window.h"
69
                       line="37"/>
70
      <parameters>
71
        <parameter name="o">
72
        </parameter>
73
      </parameters>
74
    </function-macro>
75
    <function-macro name="IS_WINDOW"
76
                    c:identifier="CD_IS_WINDOW"
77
                    introspectable="0">
78
      <source-position filename="../libcolord-gtk/cd-window.h" line="38"/>
79
      <parameters>
80
        <parameter name="o">
81
        </parameter>
82
      </parameters>
83
    </function-macro>
84
    <function-macro name="IS_WINDOW_CLASS"
85
                    c:identifier="CD_IS_WINDOW_CLASS"
86
                    introspectable="0">
87
      <source-position filename="../libcolord-gtk/cd-window.h" line="39"/>
88
      <parameters>
89
        <parameter name="k">
90
        </parameter>
91
      </parameters>
92
    </function-macro>
93
    <function-macro name="SAMPLE_WIDGET"
94
                    c:identifier="CD_SAMPLE_WIDGET"
95
                    introspectable="0">
96
      <source-position filename="../libcolord-gtk/cd-sample-widget.h"
97
                       line="35"/>
98
      <parameters>
99
        <parameter name="obj">
100
        </parameter>
101
      </parameters>
102
    </function-macro>
103
    <function-macro name="SAMPLE_WIDGET_CLASS"
104
                    c:identifier="CD_SAMPLE_WIDGET_CLASS"
105
                    introspectable="0">
106
      <source-position filename="../libcolord-gtk/cd-sample-widget.h"
107
                       line="36"/>
108
      <parameters>
109
        <parameter name="obj">
110
        </parameter>
111
      </parameters>
112
    </function-macro>
113
    <function-macro name="SAMPLE_WINDOW"
114
                    c:identifier="CD_SAMPLE_WINDOW"
115
                    introspectable="0">
116
      <source-position filename="../libcolord-gtk/cd-sample-window.h"
117
                       line="36"/>
118
      <parameters>
119
        <parameter name="o">
120
        </parameter>
121
      </parameters>
122
    </function-macro>
123
    <class name="SampleWidget"
124
           c:symbol-prefix="sample_widget"
125
           c:type="CdSampleWidget"
126
           parent="Gtk.DrawingArea"
127
           glib:type-name="CdSampleWidget"
128
           glib:get-type="cd_sample_widget_get_type"
129
           glib:type-struct="SampleWidgetClass">
130
      <source-position filename="../libcolord-gtk/cd-sample-widget.h"
131
                       line="54"/>
132
      <implements name="Atk.ImplementorIface"/>
133
      <implements name="Gtk.Buildable"/>
134
      <constructor name="new"
135
                   c:identifier="cd_sample_widget_new"
136
                   version="0.1.24">
137
        <source-position filename="../libcolord-gtk/cd-sample-widget.h"
138
                         line="57"/>
139
        <return-value transfer-ownership="none">
140
          <doc xml:space="preserve"
141
               filename="../libcolord-gtk/cd-sample-widget.c"
142
               line="255">A new #CdSampleWidget object.</doc>
143
          <type name="Gtk.Widget" c:type="GtkWidget*"/>
144
        </return-value>
145
      </constructor>
146
      <method name="set_color"
147
              c:identifier="cd_sample_widget_set_color"
148
              version="0.1.24">
149
        <doc xml:space="preserve"
150
             filename="../libcolord-gtk/cd-sample-widget.c"
151
             line="232">Sets the color for the sample widget</doc>
152
        <source-position filename="../libcolord-gtk/cd-sample-widget.h"
153
                         line="58"/>
154
        <return-value transfer-ownership="none">
155
          <type name="none" c:type="void"/>
156
        </return-value>
157
        <parameters>
158
          <instance-parameter name="sample" transfer-ownership="none">
159
            <doc xml:space="preserve"
160
                 filename="../libcolord-gtk/cd-sample-widget.c"
161
                 line="234">This class instance</doc>
162
            <type name="SampleWidget" c:type="CdSampleWidget*"/>
163
          </instance-parameter>
164
          <parameter name="color" transfer-ownership="none">
165
            <doc xml:space="preserve"
166
                 filename="../libcolord-gtk/cd-sample-widget.c"
167
                 line="235">A color</doc>
168
            <type name="Colord.ColorRGB" c:type="const CdColorRGB*"/>
169
          </parameter>
170
        </parameters>
171
      </method>
172
      <property name="color" writable="1" transfer-ownership="none">
173
        <type name="Colord.ColorRGB"/>
174
      </property>
175
      <field name="parent">
176
        <type name="Gtk.DrawingArea" c:type="GtkDrawingArea"/>
177
      </field>
178
      <field name="priv">
179
        <type name="SampleWidgetPrivate" c:type="CdSampleWidgetPrivate*"/>
180
      </field>
181
    </class>
182
    <record name="SampleWidgetClass"
183
            c:type="CdSampleWidgetClass"
184
            glib:is-gtype-struct-for="SampleWidget">
185
      <source-position filename="../libcolord-gtk/cd-sample-widget.h"
186
                       line="54"/>
187
      <field name="parent_class">
188
        <type name="Gtk.DrawingAreaClass" c:type="GtkDrawingAreaClass"/>
189
      </field>
190
    </record>
191
    <record name="SampleWidgetPrivate"
192
            c:type="CdSampleWidgetPrivate"
193
            disguised="1">
194
      <source-position filename="../libcolord-gtk/cd-sample-widget.h"
195
                       line="43"/>
196
    </record>
197
    <class name="SampleWindow"
198
           c:symbol-prefix="sample_window"
199
           c:type="CdSampleWindow"
200
           parent="Gtk.Window"
201
           glib:type-name="CdSampleWindow"
202
           glib:get-type="cd_sample_window_get_type"
203
           glib:type-struct="SampleWindowClass">
204
      <source-position filename="../libcolord-gtk/cd-sample-window.h"
205
                       line="52"/>
206
      <implements name="Atk.ImplementorIface"/>
207
      <implements name="Gtk.Buildable"/>
208
      <constructor name="new"
209
                   c:identifier="cd_sample_window_new"
210
                   version="0.1.22">
211
        <source-position filename="../libcolord-gtk/cd-sample-window.h"
212
                         line="55"/>
213
        <return-value transfer-ownership="none">
214
          <doc xml:space="preserve"
215
               filename="../libcolord-gtk/cd-sample-window.c"
216
               line="217">a new #CdSampleWindow object.</doc>
217
          <type name="Gtk.Window" c:type="GtkWindow*"/>
218
        </return-value>
219
      </constructor>
220
      <method name="set_color"
221
              c:identifier="cd_sample_window_set_color"
222
              version="0.1.22">
223
        <doc xml:space="preserve"
224
             filename="../libcolord-gtk/cd-sample-window.c"
225
             line="95">Sets the window to a specific color.</doc>
226
        <source-position filename="../libcolord-gtk/cd-sample-window.h"
227
                         line="56"/>
228
        <return-value transfer-ownership="none">
229
          <type name="none" c:type="void"/>
230
        </return-value>
231
        <parameters>
232
          <instance-parameter name="sample_window" transfer-ownership="none">
233
            <doc xml:space="preserve"
234
                 filename="../libcolord-gtk/cd-sample-window.c"
235
                 line="97">a valid #CdSampleWindow instance</doc>
236
            <type name="SampleWindow" c:type="CdSampleWindow*"/>
237
          </instance-parameter>
238
          <parameter name="color" transfer-ownership="none">
239
            <doc xml:space="preserve"
240
                 filename="../libcolord-gtk/cd-sample-window.c"
241
                 line="98">the color</doc>
242
            <type name="Colord.ColorRGB" c:type="const CdColorRGB*"/>
243
          </parameter>
244
        </parameters>
245
      </method>
246
      <method name="set_fraction"
247
              c:identifier="cd_sample_window_set_fraction"
248
              version="0.1.22">
249
        <doc xml:space="preserve"
250
             filename="../libcolord-gtk/cd-sample-window.c"
251
             line="60">Sets the percentage value on the window.</doc>
252
        <source-position filename="../libcolord-gtk/cd-sample-window.h"
253
                         line="58"/>
254
        <return-value transfer-ownership="none">
255
          <type name="none" c:type="void"/>
256
        </return-value>
257
        <parameters>
258
          <instance-parameter name="sample_window" transfer-ownership="none">
259
            <doc xml:space="preserve"
260
                 filename="../libcolord-gtk/cd-sample-window.c"
261
                 line="62">a valid #CdSampleWindow instance</doc>
262
            <type name="SampleWindow" c:type="CdSampleWindow*"/>
263
          </instance-parameter>
264
          <parameter name="fraction" transfer-ownership="none">
265
            <doc xml:space="preserve"
266
                 filename="../libcolord-gtk/cd-sample-window.c"
267
                 line="63">the fraction value to show, or -1 for pulsing.</doc>
268
            <type name="gdouble" c:type="gdouble"/>
269
          </parameter>
270
        </parameters>
271
      </method>
272
      <field name="parent">
273
        <type name="Gtk.Window" c:type="GtkWindow"/>
274
      </field>
275
      <field name="priv">
276
        <type name="SampleWindowPrivate" c:type="CdSampleWindowPrivate*"/>
277
      </field>
278
    </class>
279
    <record name="SampleWindowClass"
280
            c:type="CdSampleWindowClass"
281
            glib:is-gtype-struct-for="SampleWindow">
282
      <source-position filename="../libcolord-gtk/cd-sample-window.h"
283
                       line="52"/>
284
      <field name="parent_class">
285
        <type name="Gtk.WindowClass" c:type="GtkWindowClass"/>
286
      </field>
287
    </record>
288
    <record name="SampleWindowPrivate"
289
            c:type="CdSampleWindowPrivate"
290
            disguised="1">
291
      <doc xml:space="preserve"
292
           filename="../libcolord-gtk/cd-sample-window.c"
293
           line="36">Private #CdSampleWindow data</doc>
294
      <source-position filename="../libcolord-gtk/cd-sample-window.h"
295
                       line="39"/>
296
    </record>
297
    <function-macro name="WINDOW" c:identifier="CD_WINDOW" introspectable="0">
298
      <source-position filename="../libcolord-gtk/cd-window.h" line="36"/>
299
      <parameters>
300
        <parameter name="o">
301
        </parameter>
302
      </parameters>
303
    </function-macro>
304
    <function-macro name="WINDOW_CLASS"
305
                    c:identifier="CD_WINDOW_CLASS"
306
                    introspectable="0">
307
      <source-position filename="../libcolord-gtk/cd-window.h" line="37"/>
308
      <parameters>
309
        <parameter name="k">
310
        </parameter>
311
      </parameters>
312
    </function-macro>
313
    <function-macro name="WINDOW_GET_CLASS"
314
                    c:identifier="CD_WINDOW_GET_CLASS"
315
                    introspectable="0">
316
      <source-position filename="../libcolord-gtk/cd-window.h" line="40"/>
317
      <parameters>
318
        <parameter name="o">
319
        </parameter>
320
      </parameters>
321
    </function-macro>
322
    <class name="Window"
323
           c:symbol-prefix="window"
324
           c:type="CdWindow"
325
           parent="GObject.Object"
326
           glib:type-name="CdWindow"
327
           glib:get-type="cd_window_get_type"
328
           glib:type-struct="WindowClass">
329
      <source-position filename="../libcolord-gtk/cd-window.h" line="67"/>
330
      <constructor name="new" c:identifier="cd_window_new" version="0.1.20">
331
        <doc xml:space="preserve"
332
             filename="../libcolord-gtk/cd-window.c"
333
             line="564">Creates a new #CdWindow object.</doc>
334
        <source-position filename="../libcolord-gtk/cd-window.h" line="83"/>
335
        <return-value transfer-ownership="full">
336
          <doc xml:space="preserve"
337
               filename="../libcolord-gtk/cd-window.c"
338
               line="569">a new CdWindow object.</doc>
339
          <type name="Window" c:type="CdWindow*"/>
340
        </return-value>
341
      </constructor>
342
      <function name="error_quark"
343
                c:identifier="cd_window_error_quark"
344
                version="0.1.20">
345
        <return-value transfer-ownership="none">
346
          <doc xml:space="preserve"
347
               filename="../libcolord-gtk/cd-window.c"
348
               line="81">An error quark.</doc>
349
          <type name="GLib.Quark" c:type="GQuark"/>
350
        </return-value>
351
      </function>
352
      <virtual-method name="changed">
353
        <source-position filename="../libcolord-gtk/cd-window.h" line="55"/>
354
        <return-value transfer-ownership="none">
355
          <type name="none" c:type="void"/>
356
        </return-value>
357
        <parameters>
358
          <instance-parameter name="window" transfer-ownership="none">
359
            <type name="Window" c:type="CdWindow*"/>
360
          </instance-parameter>
361
          <parameter name="profile" transfer-ownership="none">
362
            <type name="Colord.Profile" c:type="CdProfile*"/>
363
          </parameter>
364
        </parameters>
365
      </virtual-method>
366
      <method name="get_last_profile"
367
              c:identifier="cd_window_get_last_profile"
368
              version="0.1.20">
369
        <doc xml:space="preserve"
370
             filename="../libcolord-gtk/cd-window.c"
371
             line="95">Gets the color profile to use for this widget.</doc>
372
        <source-position filename="../libcolord-gtk/cd-window.h" line="96"/>
373
        <return-value transfer-ownership="none">
374
          <doc xml:space="preserve"
375
               filename="../libcolord-gtk/cd-window.c"
376
               line="101">a #CdProfile</doc>
377
          <type name="Colord.Profile" c:type="CdProfile*"/>
378
        </return-value>
379
        <parameters>
380
          <instance-parameter name="window" transfer-ownership="none">
381
            <doc xml:space="preserve"
382
                 filename="../libcolord-gtk/cd-window.c"
383
                 line="97">a #CdWindow instance.</doc>
384
            <type name="Window" c:type="CdWindow*"/>
385
          </instance-parameter>
386
        </parameters>
387
      </method>
388
      <method name="get_profile"
389
              c:identifier="cd_window_get_profile"
390
              version="0.1.20">
391
        <doc xml:space="preserve"
392
             filename="../libcolord-gtk/cd-window.c"
393
             line="411">Gets the screen profile that should be used for the widget,
394
which corresponds to the screen output the widget most covers.
395
396
This method should be called when the widget has mapped, i.e.
397
g_signal_connect (dialog, "map", G_CALLBACK (map_cb), priv);
398
399
Note, the returned profile from cd_client_get_profile_for_widget_finish()
400
has already been connected to, as is ready to use.</doc>
401
        <source-position filename="../libcolord-gtk/cd-window.h" line="86"/>
402
        <return-value transfer-ownership="none">
403
          <type name="none" c:type="void"/>
404
        </return-value>
405
        <parameters>
406
          <instance-parameter name="window" transfer-ownership="none">
407
            <doc xml:space="preserve"
408
                 filename="../libcolord-gtk/cd-window.c"
409
                 line="413">a #CdWindow instance.</doc>
410
            <type name="Window" c:type="CdWindow*"/>
411
          </instance-parameter>
412
          <parameter name="widget" transfer-ownership="none">
413
            <doc xml:space="preserve"
414
                 filename="../libcolord-gtk/cd-window.c"
415
                 line="414">a #GtkWidget</doc>
416
            <type name="Gtk.Widget" c:type="GtkWidget*"/>
417
          </parameter>
418
          <parameter name="cancellable"
419
                     transfer-ownership="none"
420
                     nullable="1"
421
                     allow-none="1">
422
            <doc xml:space="preserve"
423
                 filename="../libcolord-gtk/cd-window.c"
424
                 line="415">a #GCancellable or %NULL</doc>
425
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
426
          </parameter>
427
          <parameter name="callback"
428
                     transfer-ownership="none"
429
                     nullable="1"
430
                     allow-none="1"
431
                     scope="async"
432
                     closure="3">
433
            <doc xml:space="preserve"
434
                 filename="../libcolord-gtk/cd-window.c"
435
                 line="416">the function to run on completion</doc>
436
            <type name="Gio.AsyncReadyCallback" c:type="GAsyncReadyCallback"/>
437
          </parameter>
438
          <parameter name="user_data"
439
                     transfer-ownership="none"
440
                     nullable="1"
441
                     allow-none="1">
442
            <doc xml:space="preserve"
443
                 filename="../libcolord-gtk/cd-window.c"
444
                 line="417">the data to pass to @callback</doc>
445
            <type name="gpointer" c:type="gpointer"/>
446
          </parameter>
447
        </parameters>
448
      </method>
449
      <method name="get_profile_finish"
450
              c:identifier="cd_window_get_profile_finish"
451
              version="0.1.20"
452
              throws="1">
453
        <doc xml:space="preserve"
454
             filename="../libcolord-gtk/cd-window.c"
455
             line="118">Gets the result from the asynchronous function.</doc>
456
        <source-position filename="../libcolord-gtk/cd-window.h" line="91"/>
457
        <return-value transfer-ownership="full">
458
          <doc xml:space="preserve"
459
               filename="../libcolord-gtk/cd-window.c"
460
               line="126">a #CdProfile or %NULL</doc>
461
          <type name="Colord.Profile" c:type="CdProfile*"/>
462
        </return-value>
463
        <parameters>
464
          <instance-parameter name="window" transfer-ownership="none">
465
            <doc xml:space="preserve"
466
                 filename="../libcolord-gtk/cd-window.c"
467
                 line="120">a #CdWindow instance.</doc>
468
            <type name="Window" c:type="CdWindow*"/>
469
          </instance-parameter>
470
          <parameter name="res" transfer-ownership="none">
471
            <doc xml:space="preserve"
472
                 filename="../libcolord-gtk/cd-window.c"
473
                 line="121">the #GAsyncResult</doc>
474
            <type name="Gio.AsyncResult" c:type="GAsyncResult*"/>
475
          </parameter>
476
        </parameters>
477
      </method>
478
      <method name="get_profile_sync"
479
              c:identifier="cd_window_get_profile_sync"
480
              version="0.1.20"
481
              throws="1">
482
        <doc xml:space="preserve"
483
             filename="../libcolord-gtk/cd-window-sync.c"
484
             line="63">Gets the screen profile that should be used for the widget,
485
which corresponds to the screen output the widget most covers.
486
487
WARNING: This function is synchronous, and may block.
488
Do not use it in GUI applications.</doc>
489
        <source-position filename="../libcolord-gtk/cd-window-sync.h"
490
                         line="34"/>
491
        <return-value transfer-ownership="full">
492
          <doc xml:space="preserve"
493
               filename="../libcolord-gtk/cd-window-sync.c"
494
               line="76">a #CdProfile or %NULL</doc>
495
          <type name="Colord.Profile" c:type="CdProfile*"/>
496
        </return-value>
497
        <parameters>
498
          <instance-parameter name="window" transfer-ownership="none">
499
            <doc xml:space="preserve"
500
                 filename="../libcolord-gtk/cd-window-sync.c"
501
                 line="65">a #CdWindow instance.</doc>
502
            <type name="Window" c:type="CdWindow*"/>
503
          </instance-parameter>
504
          <parameter name="widget" transfer-ownership="none">
505
            <doc xml:space="preserve"
506
                 filename="../libcolord-gtk/cd-window-sync.c"
507
                 line="66">a #GtkWidget</doc>
508
            <type name="Gtk.Widget" c:type="GtkWidget*"/>
509
          </parameter>
510
          <parameter name="cancellable"
511
                     transfer-ownership="none"
512
                     nullable="1"
513
                     allow-none="1">
514
            <doc xml:space="preserve"
515
                 filename="../libcolord-gtk/cd-window-sync.c"
516
                 line="67">a #GCancellable or %NULL</doc>
517
            <type name="Gio.Cancellable" c:type="GCancellable*"/>
518
          </parameter>
519
        </parameters>
520
      </method>
521
      <property name="Profile" transfer-ownership="none">
522
        <type name="utf8" c:type="gchar*"/>
523
      </property>
524
      <field name="parent">
525
        <type name="GObject.Object" c:type="GObject"/>
526
      </field>
527
      <field name="priv">
528
        <type name="WindowPrivate" c:type="CdWindowPrivate*"/>
529
      </field>
530
      <glib:signal name="changed" when="last" version="0.1.20">
531
        <doc xml:space="preserve"
532
             filename="../libcolord-gtk/cd-window.c"
533
             line="507">The ::changed signal is emitted when the device profile has
534
changed. The #CdProfile that is referenced in the callback
535
has not been connected to, and you will need to call
536
cd_profile_connect() if the ICC filename is required.</doc>
537
        <return-value transfer-ownership="none">
538
          <type name="none" c:type="void"/>
539
        </return-value>
540
        <parameters>
541
          <parameter name="object" transfer-ownership="none">
542
            <type name="Colord.Profile"/>
543
          </parameter>
544
        </parameters>
545
      </glib:signal>
546
    </class>
547
    <record name="WindowClass"
548
            c:type="CdWindowClass"
549
            glib:is-gtype-struct-for="Window">
550
      <source-position filename="../libcolord-gtk/cd-window.h" line="67"/>
551
      <field name="parent_class">
552
        <type name="GObject.ObjectClass" c:type="GObjectClass"/>
553
      </field>
554
      <field name="changed">
555
        <callback name="changed">
556
          <source-position filename="../libcolord-gtk/cd-window.h" line="55"/>
557
          <return-value transfer-ownership="none">
558
            <type name="none" c:type="void"/>
559
          </return-value>
560
          <parameters>
561
            <parameter name="window" transfer-ownership="none">
562
              <type name="Window" c:type="CdWindow*"/>
563
            </parameter>
564
            <parameter name="profile" transfer-ownership="none">
565
              <type name="Colord.Profile" c:type="CdProfile*"/>
566
            </parameter>
567
          </parameters>
568
        </callback>
569
      </field>
570
      <field name="_cd_window_reserved1" introspectable="0">
571
        <callback name="_cd_window_reserved1">
572
          <source-position filename="../libcolord-gtk/cd-window.h" line="59"/>
573
          <return-value transfer-ownership="none">
574
            <type name="none" c:type="void"/>
575
          </return-value>
576
        </callback>
577
      </field>
578
      <field name="_cd_window_reserved2" introspectable="0">
579
        <callback name="_cd_window_reserved2">
580
          <source-position filename="../libcolord-gtk/cd-window.h" line="60"/>
581
          <return-value transfer-ownership="none">
582
            <type name="none" c:type="void"/>
583
          </return-value>
584
        </callback>
585
      </field>
586
      <field name="_cd_window_reserved3" introspectable="0">
587
        <callback name="_cd_window_reserved3">
588
          <source-position filename="../libcolord-gtk/cd-window.h" line="61"/>
589
          <return-value transfer-ownership="none">
590
            <type name="none" c:type="void"/>
591
          </return-value>
592
        </callback>
593
      </field>
594
      <field name="_cd_window_reserved4" introspectable="0">
595
        <callback name="_cd_window_reserved4">
596
          <source-position filename="../libcolord-gtk/cd-window.h" line="62"/>
597
          <return-value transfer-ownership="none">
598
            <type name="none" c:type="void"/>
599
          </return-value>
600
        </callback>
601
      </field>
602
      <field name="_cd_window_reserved5" introspectable="0">
603
        <callback name="_cd_window_reserved5">
604
          <source-position filename="../libcolord-gtk/cd-window.h" line="63"/>
605
          <return-value transfer-ownership="none">
606
            <type name="none" c:type="void"/>
607
          </return-value>
608
        </callback>
609
      </field>
610
      <field name="_cd_window_reserved6" introspectable="0">
611
        <callback name="_cd_window_reserved6">
612
          <source-position filename="../libcolord-gtk/cd-window.h" line="64"/>
613
          <return-value transfer-ownership="none">
614
            <type name="none" c:type="void"/>
615
          </return-value>
616
        </callback>
617
      </field>
618
      <field name="_cd_window_reserved7" introspectable="0">
619
        <callback name="_cd_window_reserved7">
620
          <source-position filename="../libcolord-gtk/cd-window.h" line="65"/>
621
          <return-value transfer-ownership="none">
622
            <type name="none" c:type="void"/>
623
          </return-value>
624
        </callback>
625
      </field>
626
      <field name="_cd_window_reserved8" introspectable="0">
627
        <callback name="_cd_window_reserved8">
628
          <source-position filename="../libcolord-gtk/cd-window.h" line="66"/>
629
          <return-value transfer-ownership="none">
630
            <type name="none" c:type="void"/>
631
          </return-value>
632
        </callback>
633
      </field>
634
    </record>
635
    <enumeration name="WindowError" c:type="CdWindowError">
636
      <doc xml:space="preserve"
637
           filename="../libcolord-gtk/cd-window.h"
638
           line="69">Errors that can be thrown</doc>
639
      <source-position filename="../libcolord-gtk/cd-window.h" line="79"/>
640
      <member name="failed" value="0" c:identifier="CD_WINDOW_ERROR_FAILED">
641
        <doc xml:space="preserve"
642
             filename="../libcolord-gtk/cd-window.h"
643
             line="71">the transaction failed for an unknown reason</doc>
644
      </member>
645
      <member name="last" value="1" c:identifier="CD_WINDOW_ERROR_LAST">
646
      </member>
647
    </enumeration>
648
    <record name="WindowPrivate" c:type="CdWindowPrivate" disguised="1">
649
      <doc xml:space="preserve"
650
           filename="../libcolord-gtk/cd-window.c"
651
           line="48">Private #CdWindow data</doc>
652
      <source-position filename="../libcolord-gtk/cd-window.h" line="44"/>
653
    </record>
654
    <docsection name="cd-version">
655
      <doc xml:space="preserve"
656
           filename="../libcolord-gtk/cd-version.h"
657
           line="22">These compile time macros allow the user to enable parts of client code
658
depending on the version of libcolord installed.
659
660
See also: #CdClient, #CdDevice</doc>
661
    </docsection>
662
    <docsection name="cd-window">
663
      <doc xml:space="preserve"
664
           filename="../libcolord-gtk/cd-window.c"
665
           line="22">These functions are useful when GTK is being used alongside colord and
666
are just provided for convenience.
667
668
See also: #CdDevice</doc>
669
    </docsection>
670
    <docsection name="cd-window-sync">
671
      <doc xml:space="preserve"
672
           filename="../libcolord-gtk/cd-window-sync.c"
673
           line="22">These helper functions provide a simple way to use the async functions
674
in command line tools.
675
676
See also: #CdWindow</doc>
677
    </docsection>
678
  </namespace>
679
</repository>

Return to bug 784272