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
|
From: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
Date: Sun, 7 Mar 2021 23:31:29 +0100
Subject: [PATCH] Remove no-separator
The `no-separator' parameter which is passed to Gtk3::Dialog->new is
invalid. This has been exposed by perl's GTK3 binding in version 0.038.
Remove the `no-separator' as it has been in upstream repository for
clamtk.
BTS: #981384
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
---
lib/Analysis.pm | 3 +--
lib/History.pm | 2 +-
lib/Scan.pm | 3 +--
3 files changed, 3 insertions(+), 5 deletions(-)
diff --git a/lib/Analysis.pm b/lib/Analysis.pm
index f44a981269d56..2c50e6d0d4956 100644
--- a/lib/Analysis.pm
+++ b/lib/Analysis.pm
@@ -48,8 +48,7 @@ sub show_window {
( undef, $from_scan, $parent ) = @_;
$window = Gtk3::Dialog->new(
undef, $parent,
- [ qw| modal destroy-with-parent no-separator
- use-header-bar |
+ [ qw| modal destroy-with-parent use-header-bar |
],
);
$window->signal_connect(
diff --git a/lib/History.pm b/lib/History.pm
index 623cd52a91c1b..aeaf7d8fdf619 100644
--- a/lib/History.pm
+++ b/lib/History.pm
@@ -148,7 +148,7 @@ sub view_history {
my $win = Gtk3::Dialog->new(
sprintf( _( 'Viewing %s' ), $basename ),
- undef, [ qw| modal destroy-with-parent no-separator | ],
+ undef, [ qw| modal destroy-with-parent | ],
);
$win->signal_connect( destroy => sub { $win->destroy; 1 } );
$win->set_default_size( 800, 350 );
diff --git a/lib/Scan.pm b/lib/Scan.pm
index 794ce3ceee8b9..79d03c80a0be3 100644
--- a/lib/Scan.pm
+++ b/lib/Scan.pm
@@ -90,8 +90,7 @@ sub filter {
# Begin popup scanning
$window = Gtk3::Dialog->new(
undef, undef,
- [ qw| modal destroy-with-parent no-separator
- use-header-bar |
+ [ qw| modal destroy-with-parent use-header-bar |
],
);
$window->set_deletable( FALSE );
--
2.30.1
|