[perl-Gtk3] Fix a test failure due to changes in gtk+
- From: Torsten Schönfeld <tsch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [perl-Gtk3] Fix a test failure due to changes in gtk+
- Date: Wed, 25 Jun 2014 20:46:35 +0000 (UTC)
commit 6f12973b455918a4b5097d8b9a0b7a1d169ece66
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date: Wed Jun 25 22:30:33 2014 +0200
Fix a test failure due to changes in gtk+
Apparently, GtkRecentChooser now packs buttons into its header bar instead of
its action area.
t/zz-GtkRecentChooserDialog.t | 8 +-------
1 files changed, 1 insertions(+), 7 deletions(-)
---
diff --git a/t/zz-GtkRecentChooserDialog.t b/t/zz-GtkRecentChooserDialog.t
index ec4938a..debac8a 100644
--- a/t/zz-GtkRecentChooserDialog.t
+++ b/t/zz-GtkRecentChooserDialog.t
@@ -8,7 +8,7 @@ BEGIN { require './t/inc/setup.pl' }
use strict;
use warnings;
-plan tests => 14;
+plan tests => 12;
my $window = Gtk3::Window->new;
my $manager = Gtk3::RecentManager->new;
@@ -33,16 +33,10 @@ $chooser = Gtk3::RecentChooserDialog->new ('Test', $window, 'gtk-ok' => 'ok');
isa_ok ($chooser, 'Gtk3::RecentChooser');
isa_ok ($chooser, 'Gtk3::RecentChooserDialog');
-my @buttons = $chooser->get_action_area->get_children;
-is (scalar @buttons, 1);
-
$chooser = Gtk3::RecentChooserDialog->new_for_manager ('Test', $window, $manager, 'gtk-ok' => 'ok',
'gtk-cancel' => 'cancel');
isa_ok ($chooser, 'Gtk3::RecentChooser');
isa_ok ($chooser, 'Gtk3::RecentChooserDialog');
- buttons = $chooser->get_action_area->get_children;
-is (scalar @buttons, 2);
-
__END__
Copyright (C) 2003-2012 by the gtk2-perl team (see the file AUTHORS for the
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]