@girs/eog-3.0 3.0.0-3.2.6 → 3.0.0-3.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  ![downloads/week](https://img.shields.io/npm/dw/@girs/eog-3.0)
6
6
 
7
7
 
8
- GJS TypeScript type definitions for Eog-3.0, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.6.
8
+ GJS TypeScript type definitions for Eog-3.0, generated from library version 3.0.0 using [ts-for-gir](https://github.com/gjsify/ts-for-gir) v3.2.7.
9
9
 
10
10
 
11
11
  ## Install
package/eog-3.0.d.cts CHANGED
@@ -188,14 +188,14 @@ export enum StartupFlags {
188
188
  DISABLE_GALLERY,
189
189
  SINGLE_WINDOW,
190
190
  }
191
- export const FILE_FORMAT_JPEG: string | null
191
+ export const FILE_FORMAT_JPEG: string
192
192
  export const IMAGE_DATA_ALL: number
193
193
  export const LIST_STORE_THUMB_SIZE: number
194
194
  export const SCROLL_VIEW_MAX_ZOOM_FACTOR: number
195
195
  export const SCROLL_VIEW_MIN_ZOOM_FACTOR: number
196
- export const THUMBNAIL_ORIGINAL_HEIGHT: string | null
197
- export const THUMBNAIL_ORIGINAL_WIDTH: string | null
198
- export function debug(section: Debug, file: string | null, line: number, function_: string | null): void
196
+ export const THUMBNAIL_ORIGINAL_HEIGHT: string
197
+ export const THUMBNAIL_ORIGINAL_WIDTH: string
198
+ export function debug(section: Debug, file: string, line: number, function_: string): void
199
199
  export function debug_init(): void
200
200
  /**
201
201
  * Takes a date string formatted after Exif specifications and generates a
@@ -203,7 +203,7 @@ export function debug_init(): void
203
203
  * @param date a date string following Exif specifications
204
204
  * @returns a newly allocated date string formatted according to the current locale.
205
205
  */
206
- export function exif_util_format_date(date: string | null): string | null
206
+ export function exif_util_format_date(date: string): string | null
207
207
  export function image_error_quark(): GLib.Quark
208
208
  export function marshal_VOID__INT_INT(closure: GObject.TClosure, return_value: any, n_param_values: number, param_values: any, invocation_hint: any | null, marshal_data: any | null): void
209
209
  /**
@@ -593,7 +593,7 @@ export interface DetailsDialog extends Atk.ImplementorIface, Gtk.Buildable {
593
593
  * @param child the child widget
594
594
  * @param child_property the name of a child property installed on the class of `container`
595
595
  */
596
- child_notify(child: Gtk.Widget, child_property: string | null): void
596
+ child_notify(child: Gtk.Widget, child_property: string): void
597
597
 
598
598
  // Overloads of child_notify
599
599
 
@@ -607,7 +607,7 @@ export interface DetailsDialog extends Atk.ImplementorIface, Gtk.Buildable {
607
607
  * Also see gtk_container_child_notify().
608
608
  * @param child_property the name of a child property installed on the class of `widget’`s parent
609
609
  */
610
- child_notify(child_property: string | null): void
610
+ child_notify(child_property: string): void
611
611
  /**
612
612
  * Emits a #GtkWidget::child-notify signal for the
613
613
  * [child property][child-properties] `child_property`
@@ -618,7 +618,7 @@ export interface DetailsDialog extends Atk.ImplementorIface, Gtk.Buildable {
618
618
  * Also see gtk_container_child_notify().
619
619
  * @param child_property the name of a child property installed on the class of `widget’`s parent
620
620
  */
621
- child_notify(child_property: string | null): void
621
+ child_notify(child_property: string): void
622
622
 
623
623
  // Class property signals of Eog-3.0.Eog.DetailsDialog
624
624
 
@@ -971,7 +971,7 @@ export interface FileChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Fi
971
971
  * @param child the child widget
972
972
  * @param child_property the name of a child property installed on the class of `container`
973
973
  */
974
- child_notify(child: Gtk.Widget, child_property: string | null): void
974
+ child_notify(child: Gtk.Widget, child_property: string): void
975
975
 
976
976
  // Overloads of child_notify
977
977
 
@@ -985,7 +985,7 @@ export interface FileChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Fi
985
985
  * Also see gtk_container_child_notify().
986
986
  * @param child_property the name of a child property installed on the class of `widget’`s parent
987
987
  */
988
- child_notify(child_property: string | null): void
988
+ child_notify(child_property: string): void
989
989
  /**
990
990
  * Emits a #GtkWidget::child-notify signal for the
991
991
  * [child property][child-properties] `child_property`
@@ -996,7 +996,7 @@ export interface FileChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Fi
996
996
  * Also see gtk_container_child_notify().
997
997
  * @param child_property the name of a child property installed on the class of `widget’`s parent
998
998
  */
999
- child_notify(child_property: string | null): void
999
+ child_notify(child_property: string): void
1000
1000
 
1001
1001
  // Class property signals of Eog-3.0.Eog.FileChooser
1002
1002
 
@@ -1398,8 +1398,8 @@ export interface Image {
1398
1398
  */
1399
1399
  get_autorotate_transform(): Transform
1400
1400
  get_bytes(): number
1401
- get_caption(): string | null
1402
- get_collate_key(): string | null
1401
+ get_caption(): string
1402
+ get_collate_key(): string
1403
1403
  /**
1404
1404
  * Gets the #GFile associated with `img`
1405
1405
  * @returns a #GFile
@@ -1517,14 +1517,14 @@ export class Image extends GObject.Object {
1517
1517
  // Constructors of Eog-3.0.Eog.Image
1518
1518
 
1519
1519
  constructor(config?: Image.ConstructorProperties)
1520
- static new_file(file: Gio.File, caption: string | null): Image
1520
+ static new_file(file: Gio.File, caption: string): Image
1521
1521
  _init(config?: Image.ConstructorProperties): void
1522
1522
  /**
1523
1523
  * Gets the list of supported mimetypes
1524
1524
  * @returns a #GList of supported mimetypes
1525
1525
  */
1526
1526
  static get_supported_mime_types(): string[]
1527
- static is_supported_mime_type(mime_type: string | null): boolean
1527
+ static is_supported_mime_type(mime_type: string): boolean
1528
1528
  }
1529
1529
 
1530
1530
  export module ImageSaveInfo {
@@ -1570,7 +1570,7 @@ export class ImageSaveInfo extends GObject.Object {
1570
1570
  constructor(config?: ImageSaveInfo.ConstructorProperties)
1571
1571
  static new_from_file(file: Gio.File, format: GdkPixbuf.PixbufFormat): ImageSaveInfo
1572
1572
  static new_from_image(image: Image): ImageSaveInfo
1573
- static new_from_uri(uri: string | null, format: GdkPixbuf.PixbufFormat): ImageSaveInfo
1573
+ static new_from_uri(uri: string, format: GdkPixbuf.PixbufFormat): ImageSaveInfo
1574
1574
  _init(config?: ImageSaveInfo.ConstructorProperties): void
1575
1575
  }
1576
1576
 
@@ -1714,7 +1714,7 @@ export class JobCopy extends Job {
1714
1714
  * @param destination destination path for the copy
1715
1715
  * @returns A #EogJob.
1716
1716
  */
1717
- constructor(images: Image[], destination: string | null)
1717
+ constructor(images: Image[], destination: string)
1718
1718
  /**
1719
1719
  * Creates a new #EogJob.
1720
1720
  * @constructor
@@ -1722,7 +1722,7 @@ export class JobCopy extends Job {
1722
1722
  * @param destination destination path for the copy
1723
1723
  * @returns A #EogJob.
1724
1724
  */
1725
- static new(images: Image[], destination: string | null): JobCopy
1725
+ static new(images: Image[], destination: string): JobCopy
1726
1726
  _init(config?: JobCopy.ConstructorProperties): void
1727
1727
  }
1728
1728
 
@@ -2261,7 +2261,7 @@ export interface RemotePresenter extends Atk.ImplementorIface, Gtk.Buildable {
2261
2261
  * @param child the child widget
2262
2262
  * @param child_property the name of a child property installed on the class of `container`
2263
2263
  */
2264
- child_notify(child: Gtk.Widget, child_property: string | null): void
2264
+ child_notify(child: Gtk.Widget, child_property: string): void
2265
2265
 
2266
2266
  // Overloads of child_notify
2267
2267
 
@@ -2275,7 +2275,7 @@ export interface RemotePresenter extends Atk.ImplementorIface, Gtk.Buildable {
2275
2275
  * Also see gtk_container_child_notify().
2276
2276
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2277
2277
  */
2278
- child_notify(child_property: string | null): void
2278
+ child_notify(child_property: string): void
2279
2279
  /**
2280
2280
  * Emits a #GtkWidget::child-notify signal for the
2281
2281
  * [child property][child-properties] `child_property`
@@ -2286,7 +2286,7 @@ export interface RemotePresenter extends Atk.ImplementorIface, Gtk.Buildable {
2286
2286
  * Also see gtk_container_child_notify().
2287
2287
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2288
2288
  */
2289
- child_notify(child_property: string | null): void
2289
+ child_notify(child_property: string): void
2290
2290
 
2291
2291
  // Class property signals of Eog-3.0.Eog.RemotePresenter
2292
2292
 
@@ -2550,7 +2550,7 @@ export class RemotePresenter extends Gtk.Window {
2550
2550
  * @param previous_image_action
2551
2551
  * @returns a new #EogRemotePresenter
2552
2552
  */
2553
- constructor(parent: Gtk.Window, thumbview: ThumbView, next_image_action: string | null, previous_image_action: string | null)
2553
+ constructor(parent: Gtk.Window, thumbview: ThumbView, next_image_action: string, previous_image_action: string)
2554
2554
  /**
2555
2555
  * If %parent implements #GActionMap its actions will be automatically
2556
2556
  * inserted in the "win" namespace.
@@ -2561,7 +2561,7 @@ export class RemotePresenter extends Gtk.Window {
2561
2561
  * @param previous_image_action
2562
2562
  * @returns a new #EogRemotePresenter
2563
2563
  */
2564
- static new(parent: Gtk.Window, thumbview: ThumbView, next_image_action: string | null, previous_image_action: string | null): RemotePresenter
2564
+ static new(parent: Gtk.Window, thumbview: ThumbView, next_image_action: string, previous_image_action: string): RemotePresenter
2565
2565
 
2566
2566
  // Overloads of new
2567
2567
 
@@ -2861,7 +2861,7 @@ export interface ScrollView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scr
2861
2861
  * @param child the child widget
2862
2862
  * @param child_property the name of a child property installed on the class of `container`
2863
2863
  */
2864
- child_notify(child: Gtk.Widget, child_property: string | null): void
2864
+ child_notify(child: Gtk.Widget, child_property: string): void
2865
2865
 
2866
2866
  // Overloads of child_notify
2867
2867
 
@@ -2875,7 +2875,7 @@ export interface ScrollView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scr
2875
2875
  * Also see gtk_container_child_notify().
2876
2876
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2877
2877
  */
2878
- child_notify(child_property: string | null): void
2878
+ child_notify(child_property: string): void
2879
2879
  /**
2880
2880
  * Emits a #GtkWidget::child-notify signal for the
2881
2881
  * [child property][child-properties] `child_property`
@@ -2886,7 +2886,7 @@ export interface ScrollView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scr
2886
2886
  * Also see gtk_container_child_notify().
2887
2887
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2888
2888
  */
2889
- child_notify(child_property: string | null): void
2889
+ child_notify(child_property: string): void
2890
2890
 
2891
2891
  // Own virtual methods of Eog-3.0.Eog.ScrollView
2892
2892
 
@@ -3146,7 +3146,7 @@ export interface Sidebar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
3146
3146
 
3147
3147
  // Owm methods of Eog-3.0.Eog.Sidebar
3148
3148
 
3149
- add_page(title: string | null, main_widget: Gtk.Widget): void
3149
+ add_page(title: string, main_widget: Gtk.Widget): void
3150
3150
  get_n_pages(): number
3151
3151
  get_page_nr(): number
3152
3152
  is_empty(): boolean
@@ -3167,7 +3167,7 @@ export interface Sidebar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
3167
3167
  * @param child the child widget
3168
3168
  * @param child_property the name of a child property installed on the class of `container`
3169
3169
  */
3170
- child_notify(child: Gtk.Widget, child_property: string | null): void
3170
+ child_notify(child: Gtk.Widget, child_property: string): void
3171
3171
 
3172
3172
  // Overloads of child_notify
3173
3173
 
@@ -3181,7 +3181,7 @@ export interface Sidebar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
3181
3181
  * Also see gtk_container_child_notify().
3182
3182
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3183
3183
  */
3184
- child_notify(child_property: string | null): void
3184
+ child_notify(child_property: string): void
3185
3185
  /**
3186
3186
  * Emits a #GtkWidget::child-notify signal for the
3187
3187
  * [child property][child-properties] `child_property`
@@ -3192,7 +3192,7 @@ export interface Sidebar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orient
3192
3192
  * Also see gtk_container_child_notify().
3193
3193
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3194
3194
  */
3195
- child_notify(child_property: string | null): void
3195
+ child_notify(child_property: string): void
3196
3196
 
3197
3197
  // Own virtual methods of Eog-3.0.Eog.Sidebar
3198
3198
 
@@ -3453,7 +3453,7 @@ export interface Statusbar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orie
3453
3453
  * @param child the child widget
3454
3454
  * @param child_property the name of a child property installed on the class of `container`
3455
3455
  */
3456
- child_notify(child: Gtk.Widget, child_property: string | null): void
3456
+ child_notify(child: Gtk.Widget, child_property: string): void
3457
3457
 
3458
3458
  // Overloads of child_notify
3459
3459
 
@@ -3467,7 +3467,7 @@ export interface Statusbar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orie
3467
3467
  * Also see gtk_container_child_notify().
3468
3468
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3469
3469
  */
3470
- child_notify(child_property: string | null): void
3470
+ child_notify(child_property: string): void
3471
3471
  /**
3472
3472
  * Emits a #GtkWidget::child-notify signal for the
3473
3473
  * [child property][child-properties] `child_property`
@@ -3478,7 +3478,7 @@ export interface Statusbar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orie
3478
3478
  * Also see gtk_container_child_notify().
3479
3479
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3480
3480
  */
3481
- child_notify(child_property: string | null): void
3481
+ child_notify(child_property: string): void
3482
3482
 
3483
3483
  // Class property signals of Eog-3.0.Eog.Statusbar
3484
3484
 
@@ -3725,7 +3725,7 @@ export interface ThumbNav extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orien
3725
3725
  * @param child the child widget
3726
3726
  * @param child_property the name of a child property installed on the class of `container`
3727
3727
  */
3728
- child_notify(child: Gtk.Widget, child_property: string | null): void
3728
+ child_notify(child: Gtk.Widget, child_property: string): void
3729
3729
 
3730
3730
  // Overloads of child_notify
3731
3731
 
@@ -3739,7 +3739,7 @@ export interface ThumbNav extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orien
3739
3739
  * Also see gtk_container_child_notify().
3740
3740
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3741
3741
  */
3742
- child_notify(child_property: string | null): void
3742
+ child_notify(child_property: string): void
3743
3743
  /**
3744
3744
  * Emits a #GtkWidget::child-notify signal for the
3745
3745
  * [child property][child-properties] `child_property`
@@ -3750,7 +3750,7 @@ export interface ThumbNav extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orien
3750
3750
  * Also see gtk_container_child_notify().
3751
3751
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3752
3752
  */
3753
- child_notify(child_property: string | null): void
3753
+ child_notify(child_property: string): void
3754
3754
 
3755
3755
  // Class property signals of Eog-3.0.Eog.ThumbNav
3756
3756
 
@@ -4045,7 +4045,7 @@ export interface ThumbView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Cell
4045
4045
  * @param child the child widget
4046
4046
  * @param child_property the name of a child property installed on the class of `container`
4047
4047
  */
4048
- child_notify(child: Gtk.Widget, child_property: string | null): void
4048
+ child_notify(child: Gtk.Widget, child_property: string): void
4049
4049
 
4050
4050
  // Overloads of child_notify
4051
4051
 
@@ -4059,7 +4059,7 @@ export interface ThumbView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Cell
4059
4059
  * Also see gtk_container_child_notify().
4060
4060
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4061
4061
  */
4062
- child_notify(child_property: string | null): void
4062
+ child_notify(child_property: string): void
4063
4063
  /**
4064
4064
  * Emits a #GtkWidget::child-notify signal for the
4065
4065
  * [child property][child-properties] `child_property`
@@ -4070,7 +4070,7 @@ export interface ThumbView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Cell
4070
4070
  * Also see gtk_container_child_notify().
4071
4071
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4072
4072
  */
4073
- child_notify(child_property: string | null): void
4073
+ child_notify(child_property: string): void
4074
4074
 
4075
4075
  // Class property signals of Eog-3.0.Eog.ThumbView
4076
4076
 
@@ -4437,10 +4437,10 @@ export class URIConverter extends GObject.Object {
4437
4437
  // Constructors of Eog-3.0.Eog.URIConverter
4438
4438
 
4439
4439
  constructor(config?: URIConverter.ConstructorProperties)
4440
- constructor(base_file: Gio.File, img_format: GdkPixbuf.PixbufFormat, format_string: string | null)
4441
- static new(base_file: Gio.File, img_format: GdkPixbuf.PixbufFormat, format_string: string | null): URIConverter
4440
+ constructor(base_file: Gio.File, img_format: GdkPixbuf.PixbufFormat, format_string: string)
4441
+ static new(base_file: Gio.File, img_format: GdkPixbuf.PixbufFormat, format_string: string): URIConverter
4442
4442
  _init(config?: URIConverter.ConstructorProperties): void
4443
- static preview(format_str: string | null, img: Image, format: GdkPixbuf.PixbufFormat, counter: number, n_images: number, convert_spaces: boolean, space_char: string): string | null
4443
+ static preview(format_str: string, img: Image, format: GdkPixbuf.PixbufFormat, counter: number, n_images: number, convert_spaces: boolean, space_char: string): string | null
4444
4444
  }
4445
4445
 
4446
4446
  export module Window {
@@ -4541,7 +4541,7 @@ export interface Window extends Atk.ImplementorIface, Gio.ActionGroup, Gio.Actio
4541
4541
  // Owm methods of Eog-3.0.Eog.Window
4542
4542
 
4543
4543
  close(): void
4544
- get_gear_menu_section(id: string | null): Gio.Menu
4544
+ get_gear_menu_section(id: string): Gio.Menu
4545
4545
  /**
4546
4546
  * Gets the image currently displayed in `window` or %NULL if
4547
4547
  * no image is being displayed.
@@ -4647,7 +4647,7 @@ export interface Window extends Atk.ImplementorIface, Gio.ActionGroup, Gio.Actio
4647
4647
  * @param child the child widget
4648
4648
  * @param child_property the name of a child property installed on the class of `container`
4649
4649
  */
4650
- child_notify(child: Gtk.Widget, child_property: string | null): void
4650
+ child_notify(child: Gtk.Widget, child_property: string): void
4651
4651
 
4652
4652
  // Overloads of child_notify
4653
4653
 
@@ -4661,7 +4661,7 @@ export interface Window extends Atk.ImplementorIface, Gio.ActionGroup, Gio.Actio
4661
4661
  * Also see gtk_container_child_notify().
4662
4662
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4663
4663
  */
4664
- child_notify(child_property: string | null): void
4664
+ child_notify(child_property: string): void
4665
4665
  /**
4666
4666
  * Emits a #GtkWidget::child-notify signal for the
4667
4667
  * [child property][child-properties] `child_property`
@@ -4672,7 +4672,7 @@ export interface Window extends Atk.ImplementorIface, Gio.ActionGroup, Gio.Actio
4672
4672
  * Also see gtk_container_child_notify().
4673
4673
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4674
4674
  */
4675
- child_notify(child_property: string | null): void
4675
+ child_notify(child_property: string): void
4676
4676
 
4677
4677
  // Own virtual methods of Eog-3.0.Eog.Window
4678
4678
 
package/eog-3.0.d.ts CHANGED
@@ -190,14 +190,14 @@ enum StartupFlags {
190
190
  DISABLE_GALLERY,
191
191
  SINGLE_WINDOW,
192
192
  }
193
- const FILE_FORMAT_JPEG: string | null
193
+ const FILE_FORMAT_JPEG: string
194
194
  const IMAGE_DATA_ALL: number
195
195
  const LIST_STORE_THUMB_SIZE: number
196
196
  const SCROLL_VIEW_MAX_ZOOM_FACTOR: number
197
197
  const SCROLL_VIEW_MIN_ZOOM_FACTOR: number
198
- const THUMBNAIL_ORIGINAL_HEIGHT: string | null
199
- const THUMBNAIL_ORIGINAL_WIDTH: string | null
200
- function debug(section: Debug, file: string | null, line: number, function_: string | null): void
198
+ const THUMBNAIL_ORIGINAL_HEIGHT: string
199
+ const THUMBNAIL_ORIGINAL_WIDTH: string
200
+ function debug(section: Debug, file: string, line: number, function_: string): void
201
201
  function debug_init(): void
202
202
  /**
203
203
  * Takes a date string formatted after Exif specifications and generates a
@@ -205,7 +205,7 @@ function debug_init(): void
205
205
  * @param date a date string following Exif specifications
206
206
  * @returns a newly allocated date string formatted according to the current locale.
207
207
  */
208
- function exif_util_format_date(date: string | null): string | null
208
+ function exif_util_format_date(date: string): string | null
209
209
  function image_error_quark(): GLib.Quark
210
210
  function marshal_VOID__INT_INT(closure: GObject.TClosure, return_value: any, n_param_values: number, param_values: any, invocation_hint: any | null, marshal_data: any | null): void
211
211
  /**
@@ -595,7 +595,7 @@ interface DetailsDialog extends Atk.ImplementorIface, Gtk.Buildable {
595
595
  * @param child the child widget
596
596
  * @param child_property the name of a child property installed on the class of `container`
597
597
  */
598
- child_notify(child: Gtk.Widget, child_property: string | null): void
598
+ child_notify(child: Gtk.Widget, child_property: string): void
599
599
 
600
600
  // Overloads of child_notify
601
601
 
@@ -609,7 +609,7 @@ interface DetailsDialog extends Atk.ImplementorIface, Gtk.Buildable {
609
609
  * Also see gtk_container_child_notify().
610
610
  * @param child_property the name of a child property installed on the class of `widget’`s parent
611
611
  */
612
- child_notify(child_property: string | null): void
612
+ child_notify(child_property: string): void
613
613
  /**
614
614
  * Emits a #GtkWidget::child-notify signal for the
615
615
  * [child property][child-properties] `child_property`
@@ -620,7 +620,7 @@ interface DetailsDialog extends Atk.ImplementorIface, Gtk.Buildable {
620
620
  * Also see gtk_container_child_notify().
621
621
  * @param child_property the name of a child property installed on the class of `widget’`s parent
622
622
  */
623
- child_notify(child_property: string | null): void
623
+ child_notify(child_property: string): void
624
624
 
625
625
  // Class property signals of Eog-3.0.Eog.DetailsDialog
626
626
 
@@ -973,7 +973,7 @@ interface FileChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.FileChoos
973
973
  * @param child the child widget
974
974
  * @param child_property the name of a child property installed on the class of `container`
975
975
  */
976
- child_notify(child: Gtk.Widget, child_property: string | null): void
976
+ child_notify(child: Gtk.Widget, child_property: string): void
977
977
 
978
978
  // Overloads of child_notify
979
979
 
@@ -987,7 +987,7 @@ interface FileChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.FileChoos
987
987
  * Also see gtk_container_child_notify().
988
988
  * @param child_property the name of a child property installed on the class of `widget’`s parent
989
989
  */
990
- child_notify(child_property: string | null): void
990
+ child_notify(child_property: string): void
991
991
  /**
992
992
  * Emits a #GtkWidget::child-notify signal for the
993
993
  * [child property][child-properties] `child_property`
@@ -998,7 +998,7 @@ interface FileChooser extends Atk.ImplementorIface, Gtk.Buildable, Gtk.FileChoos
998
998
  * Also see gtk_container_child_notify().
999
999
  * @param child_property the name of a child property installed on the class of `widget’`s parent
1000
1000
  */
1001
- child_notify(child_property: string | null): void
1001
+ child_notify(child_property: string): void
1002
1002
 
1003
1003
  // Class property signals of Eog-3.0.Eog.FileChooser
1004
1004
 
@@ -1400,8 +1400,8 @@ interface Image {
1400
1400
  */
1401
1401
  get_autorotate_transform(): Transform
1402
1402
  get_bytes(): number
1403
- get_caption(): string | null
1404
- get_collate_key(): string | null
1403
+ get_caption(): string
1404
+ get_collate_key(): string
1405
1405
  /**
1406
1406
  * Gets the #GFile associated with `img`
1407
1407
  * @returns a #GFile
@@ -1519,14 +1519,14 @@ class Image extends GObject.Object {
1519
1519
  // Constructors of Eog-3.0.Eog.Image
1520
1520
 
1521
1521
  constructor(config?: Image.ConstructorProperties)
1522
- static new_file(file: Gio.File, caption: string | null): Image
1522
+ static new_file(file: Gio.File, caption: string): Image
1523
1523
  _init(config?: Image.ConstructorProperties): void
1524
1524
  /**
1525
1525
  * Gets the list of supported mimetypes
1526
1526
  * @returns a #GList of supported mimetypes
1527
1527
  */
1528
1528
  static get_supported_mime_types(): string[]
1529
- static is_supported_mime_type(mime_type: string | null): boolean
1529
+ static is_supported_mime_type(mime_type: string): boolean
1530
1530
  }
1531
1531
 
1532
1532
  module ImageSaveInfo {
@@ -1572,7 +1572,7 @@ class ImageSaveInfo extends GObject.Object {
1572
1572
  constructor(config?: ImageSaveInfo.ConstructorProperties)
1573
1573
  static new_from_file(file: Gio.File, format: GdkPixbuf.PixbufFormat): ImageSaveInfo
1574
1574
  static new_from_image(image: Image): ImageSaveInfo
1575
- static new_from_uri(uri: string | null, format: GdkPixbuf.PixbufFormat): ImageSaveInfo
1575
+ static new_from_uri(uri: string, format: GdkPixbuf.PixbufFormat): ImageSaveInfo
1576
1576
  _init(config?: ImageSaveInfo.ConstructorProperties): void
1577
1577
  }
1578
1578
 
@@ -1716,7 +1716,7 @@ class JobCopy extends Job {
1716
1716
  * @param destination destination path for the copy
1717
1717
  * @returns A #EogJob.
1718
1718
  */
1719
- constructor(images: Image[], destination: string | null)
1719
+ constructor(images: Image[], destination: string)
1720
1720
  /**
1721
1721
  * Creates a new #EogJob.
1722
1722
  * @constructor
@@ -1724,7 +1724,7 @@ class JobCopy extends Job {
1724
1724
  * @param destination destination path for the copy
1725
1725
  * @returns A #EogJob.
1726
1726
  */
1727
- static new(images: Image[], destination: string | null): JobCopy
1727
+ static new(images: Image[], destination: string): JobCopy
1728
1728
  _init(config?: JobCopy.ConstructorProperties): void
1729
1729
  }
1730
1730
 
@@ -2263,7 +2263,7 @@ interface RemotePresenter extends Atk.ImplementorIface, Gtk.Buildable {
2263
2263
  * @param child the child widget
2264
2264
  * @param child_property the name of a child property installed on the class of `container`
2265
2265
  */
2266
- child_notify(child: Gtk.Widget, child_property: string | null): void
2266
+ child_notify(child: Gtk.Widget, child_property: string): void
2267
2267
 
2268
2268
  // Overloads of child_notify
2269
2269
 
@@ -2277,7 +2277,7 @@ interface RemotePresenter extends Atk.ImplementorIface, Gtk.Buildable {
2277
2277
  * Also see gtk_container_child_notify().
2278
2278
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2279
2279
  */
2280
- child_notify(child_property: string | null): void
2280
+ child_notify(child_property: string): void
2281
2281
  /**
2282
2282
  * Emits a #GtkWidget::child-notify signal for the
2283
2283
  * [child property][child-properties] `child_property`
@@ -2288,7 +2288,7 @@ interface RemotePresenter extends Atk.ImplementorIface, Gtk.Buildable {
2288
2288
  * Also see gtk_container_child_notify().
2289
2289
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2290
2290
  */
2291
- child_notify(child_property: string | null): void
2291
+ child_notify(child_property: string): void
2292
2292
 
2293
2293
  // Class property signals of Eog-3.0.Eog.RemotePresenter
2294
2294
 
@@ -2552,7 +2552,7 @@ class RemotePresenter extends Gtk.Window {
2552
2552
  * @param previous_image_action
2553
2553
  * @returns a new #EogRemotePresenter
2554
2554
  */
2555
- constructor(parent: Gtk.Window, thumbview: ThumbView, next_image_action: string | null, previous_image_action: string | null)
2555
+ constructor(parent: Gtk.Window, thumbview: ThumbView, next_image_action: string, previous_image_action: string)
2556
2556
  /**
2557
2557
  * If %parent implements #GActionMap its actions will be automatically
2558
2558
  * inserted in the "win" namespace.
@@ -2563,7 +2563,7 @@ class RemotePresenter extends Gtk.Window {
2563
2563
  * @param previous_image_action
2564
2564
  * @returns a new #EogRemotePresenter
2565
2565
  */
2566
- static new(parent: Gtk.Window, thumbview: ThumbView, next_image_action: string | null, previous_image_action: string | null): RemotePresenter
2566
+ static new(parent: Gtk.Window, thumbview: ThumbView, next_image_action: string, previous_image_action: string): RemotePresenter
2567
2567
 
2568
2568
  // Overloads of new
2569
2569
 
@@ -2863,7 +2863,7 @@ interface ScrollView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable
2863
2863
  * @param child the child widget
2864
2864
  * @param child_property the name of a child property installed on the class of `container`
2865
2865
  */
2866
- child_notify(child: Gtk.Widget, child_property: string | null): void
2866
+ child_notify(child: Gtk.Widget, child_property: string): void
2867
2867
 
2868
2868
  // Overloads of child_notify
2869
2869
 
@@ -2877,7 +2877,7 @@ interface ScrollView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable
2877
2877
  * Also see gtk_container_child_notify().
2878
2878
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2879
2879
  */
2880
- child_notify(child_property: string | null): void
2880
+ child_notify(child_property: string): void
2881
2881
  /**
2882
2882
  * Emits a #GtkWidget::child-notify signal for the
2883
2883
  * [child property][child-properties] `child_property`
@@ -2888,7 +2888,7 @@ interface ScrollView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Scrollable
2888
2888
  * Also see gtk_container_child_notify().
2889
2889
  * @param child_property the name of a child property installed on the class of `widget’`s parent
2890
2890
  */
2891
- child_notify(child_property: string | null): void
2891
+ child_notify(child_property: string): void
2892
2892
 
2893
2893
  // Own virtual methods of Eog-3.0.Eog.ScrollView
2894
2894
 
@@ -3148,7 +3148,7 @@ interface Sidebar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
3148
3148
 
3149
3149
  // Owm methods of Eog-3.0.Eog.Sidebar
3150
3150
 
3151
- add_page(title: string | null, main_widget: Gtk.Widget): void
3151
+ add_page(title: string, main_widget: Gtk.Widget): void
3152
3152
  get_n_pages(): number
3153
3153
  get_page_nr(): number
3154
3154
  is_empty(): boolean
@@ -3169,7 +3169,7 @@ interface Sidebar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
3169
3169
  * @param child the child widget
3170
3170
  * @param child_property the name of a child property installed on the class of `container`
3171
3171
  */
3172
- child_notify(child: Gtk.Widget, child_property: string | null): void
3172
+ child_notify(child: Gtk.Widget, child_property: string): void
3173
3173
 
3174
3174
  // Overloads of child_notify
3175
3175
 
@@ -3183,7 +3183,7 @@ interface Sidebar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
3183
3183
  * Also see gtk_container_child_notify().
3184
3184
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3185
3185
  */
3186
- child_notify(child_property: string | null): void
3186
+ child_notify(child_property: string): void
3187
3187
  /**
3188
3188
  * Emits a #GtkWidget::child-notify signal for the
3189
3189
  * [child property][child-properties] `child_property`
@@ -3194,7 +3194,7 @@ interface Sidebar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
3194
3194
  * Also see gtk_container_child_notify().
3195
3195
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3196
3196
  */
3197
- child_notify(child_property: string | null): void
3197
+ child_notify(child_property: string): void
3198
3198
 
3199
3199
  // Own virtual methods of Eog-3.0.Eog.Sidebar
3200
3200
 
@@ -3455,7 +3455,7 @@ interface Statusbar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
3455
3455
  * @param child the child widget
3456
3456
  * @param child_property the name of a child property installed on the class of `container`
3457
3457
  */
3458
- child_notify(child: Gtk.Widget, child_property: string | null): void
3458
+ child_notify(child: Gtk.Widget, child_property: string): void
3459
3459
 
3460
3460
  // Overloads of child_notify
3461
3461
 
@@ -3469,7 +3469,7 @@ interface Statusbar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
3469
3469
  * Also see gtk_container_child_notify().
3470
3470
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3471
3471
  */
3472
- child_notify(child_property: string | null): void
3472
+ child_notify(child_property: string): void
3473
3473
  /**
3474
3474
  * Emits a #GtkWidget::child-notify signal for the
3475
3475
  * [child property][child-properties] `child_property`
@@ -3480,7 +3480,7 @@ interface Statusbar extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable
3480
3480
  * Also see gtk_container_child_notify().
3481
3481
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3482
3482
  */
3483
- child_notify(child_property: string | null): void
3483
+ child_notify(child_property: string): void
3484
3484
 
3485
3485
  // Class property signals of Eog-3.0.Eog.Statusbar
3486
3486
 
@@ -3727,7 +3727,7 @@ interface ThumbNav extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
3727
3727
  * @param child the child widget
3728
3728
  * @param child_property the name of a child property installed on the class of `container`
3729
3729
  */
3730
- child_notify(child: Gtk.Widget, child_property: string | null): void
3730
+ child_notify(child: Gtk.Widget, child_property: string): void
3731
3731
 
3732
3732
  // Overloads of child_notify
3733
3733
 
@@ -3741,7 +3741,7 @@ interface ThumbNav extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
3741
3741
  * Also see gtk_container_child_notify().
3742
3742
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3743
3743
  */
3744
- child_notify(child_property: string | null): void
3744
+ child_notify(child_property: string): void
3745
3745
  /**
3746
3746
  * Emits a #GtkWidget::child-notify signal for the
3747
3747
  * [child property][child-properties] `child_property`
@@ -3752,7 +3752,7 @@ interface ThumbNav extends Atk.ImplementorIface, Gtk.Buildable, Gtk.Orientable {
3752
3752
  * Also see gtk_container_child_notify().
3753
3753
  * @param child_property the name of a child property installed on the class of `widget’`s parent
3754
3754
  */
3755
- child_notify(child_property: string | null): void
3755
+ child_notify(child_property: string): void
3756
3756
 
3757
3757
  // Class property signals of Eog-3.0.Eog.ThumbNav
3758
3758
 
@@ -4047,7 +4047,7 @@ interface ThumbView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.CellLayout,
4047
4047
  * @param child the child widget
4048
4048
  * @param child_property the name of a child property installed on the class of `container`
4049
4049
  */
4050
- child_notify(child: Gtk.Widget, child_property: string | null): void
4050
+ child_notify(child: Gtk.Widget, child_property: string): void
4051
4051
 
4052
4052
  // Overloads of child_notify
4053
4053
 
@@ -4061,7 +4061,7 @@ interface ThumbView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.CellLayout,
4061
4061
  * Also see gtk_container_child_notify().
4062
4062
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4063
4063
  */
4064
- child_notify(child_property: string | null): void
4064
+ child_notify(child_property: string): void
4065
4065
  /**
4066
4066
  * Emits a #GtkWidget::child-notify signal for the
4067
4067
  * [child property][child-properties] `child_property`
@@ -4072,7 +4072,7 @@ interface ThumbView extends Atk.ImplementorIface, Gtk.Buildable, Gtk.CellLayout,
4072
4072
  * Also see gtk_container_child_notify().
4073
4073
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4074
4074
  */
4075
- child_notify(child_property: string | null): void
4075
+ child_notify(child_property: string): void
4076
4076
 
4077
4077
  // Class property signals of Eog-3.0.Eog.ThumbView
4078
4078
 
@@ -4439,10 +4439,10 @@ class URIConverter extends GObject.Object {
4439
4439
  // Constructors of Eog-3.0.Eog.URIConverter
4440
4440
 
4441
4441
  constructor(config?: URIConverter.ConstructorProperties)
4442
- constructor(base_file: Gio.File, img_format: GdkPixbuf.PixbufFormat, format_string: string | null)
4443
- static new(base_file: Gio.File, img_format: GdkPixbuf.PixbufFormat, format_string: string | null): URIConverter
4442
+ constructor(base_file: Gio.File, img_format: GdkPixbuf.PixbufFormat, format_string: string)
4443
+ static new(base_file: Gio.File, img_format: GdkPixbuf.PixbufFormat, format_string: string): URIConverter
4444
4444
  _init(config?: URIConverter.ConstructorProperties): void
4445
- static preview(format_str: string | null, img: Image, format: GdkPixbuf.PixbufFormat, counter: number, n_images: number, convert_spaces: boolean, space_char: string): string | null
4445
+ static preview(format_str: string, img: Image, format: GdkPixbuf.PixbufFormat, counter: number, n_images: number, convert_spaces: boolean, space_char: string): string | null
4446
4446
  }
4447
4447
 
4448
4448
  module Window {
@@ -4543,7 +4543,7 @@ interface Window extends Atk.ImplementorIface, Gio.ActionGroup, Gio.ActionMap, G
4543
4543
  // Owm methods of Eog-3.0.Eog.Window
4544
4544
 
4545
4545
  close(): void
4546
- get_gear_menu_section(id: string | null): Gio.Menu
4546
+ get_gear_menu_section(id: string): Gio.Menu
4547
4547
  /**
4548
4548
  * Gets the image currently displayed in `window` or %NULL if
4549
4549
  * no image is being displayed.
@@ -4649,7 +4649,7 @@ interface Window extends Atk.ImplementorIface, Gio.ActionGroup, Gio.ActionMap, G
4649
4649
  * @param child the child widget
4650
4650
  * @param child_property the name of a child property installed on the class of `container`
4651
4651
  */
4652
- child_notify(child: Gtk.Widget, child_property: string | null): void
4652
+ child_notify(child: Gtk.Widget, child_property: string): void
4653
4653
 
4654
4654
  // Overloads of child_notify
4655
4655
 
@@ -4663,7 +4663,7 @@ interface Window extends Atk.ImplementorIface, Gio.ActionGroup, Gio.ActionMap, G
4663
4663
  * Also see gtk_container_child_notify().
4664
4664
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4665
4665
  */
4666
- child_notify(child_property: string | null): void
4666
+ child_notify(child_property: string): void
4667
4667
  /**
4668
4668
  * Emits a #GtkWidget::child-notify signal for the
4669
4669
  * [child property][child-properties] `child_property`
@@ -4674,7 +4674,7 @@ interface Window extends Atk.ImplementorIface, Gio.ActionGroup, Gio.ActionMap, G
4674
4674
  * Also see gtk_container_child_notify().
4675
4675
  * @param child_property the name of a child property installed on the class of `widget’`s parent
4676
4676
  */
4677
- child_notify(child_property: string | null): void
4677
+ child_notify(child_property: string): void
4678
4678
 
4679
4679
  // Own virtual methods of Eog-3.0.Eog.Window
4680
4680
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@girs/eog-3.0",
3
- "version": "3.0.0-3.2.6",
3
+ "version": "3.0.0-3.2.7",
4
4
  "description": "GJS TypeScript type definitions for Eog-3.0, generated from library version 3.0.0",
5
5
  "type": "module",
6
6
  "module": "eog-3.0.js",
@@ -25,20 +25,20 @@
25
25
  "test:cjs": "NODE_OPTIONS=--max_old_space_size=9216 tsc --noEmit eog-3.0.d.cts"
26
26
  },
27
27
  "dependencies": {
28
- "@girs/atk-1.0": "^2.50.0-3.2.6",
29
- "@girs/cairo-1.0": "^1.0.0-3.2.6",
30
- "@girs/freetype2-2.0": "^2.0.0-3.2.6",
31
- "@girs/gdk-3.0": "^3.24.38-3.2.6",
32
- "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.6",
33
- "@girs/gio-2.0": "^2.78.0-3.2.6",
34
- "@girs/gjs": "^3.2.6",
35
- "@girs/glib-2.0": "^2.78.0-3.2.6",
36
- "@girs/gmodule-2.0": "^2.0.0-3.2.6",
37
- "@girs/gobject-2.0": "^2.78.0-3.2.6",
38
- "@girs/gtk-3.0": "^3.24.38-3.2.6",
39
- "@girs/harfbuzz-0.0": "^8.2.1-3.2.6",
40
- "@girs/pango-1.0": "^1.51.0-3.2.6",
41
- "@girs/xlib-2.0": "^2.0.0-3.2.6"
28
+ "@girs/atk-1.0": "^2.50.0-3.2.7",
29
+ "@girs/cairo-1.0": "^1.0.0-3.2.7",
30
+ "@girs/freetype2-2.0": "^2.0.0-3.2.7",
31
+ "@girs/gdk-3.0": "^3.24.38-3.2.7",
32
+ "@girs/gdkpixbuf-2.0": "^2.0.0-3.2.7",
33
+ "@girs/gio-2.0": "^2.78.0-3.2.7",
34
+ "@girs/gjs": "^3.2.7",
35
+ "@girs/glib-2.0": "^2.78.0-3.2.7",
36
+ "@girs/gmodule-2.0": "^2.0.0-3.2.7",
37
+ "@girs/gobject-2.0": "^2.78.0-3.2.7",
38
+ "@girs/gtk-3.0": "^3.24.38-3.2.7",
39
+ "@girs/harfbuzz-0.0": "^8.2.1-3.2.7",
40
+ "@girs/pango-1.0": "^1.51.0-3.2.7",
41
+ "@girs/xlib-2.0": "^2.0.0-3.2.7"
42
42
  },
43
43
  "devDependencies": {
44
44
  "typescript": "*"