summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/services.pm2
-rwxr-xr-xperl-install/standalone/drakclock2
2 files changed, 2 insertions, 2 deletions
diff --git a/perl-install/services.pm b/perl-install/services.pm
index be85ab069..a32e38d7c 100644
--- a/perl-install/services.pm
+++ b/perl-install/services.pm
@@ -242,7 +242,7 @@ sub ask_standalone_gtk {
$label->set_label($started ? N("running") : N("stopped"));
};
my $b = Gtk3::EventBox->new;
- $b->set_events('pointer_motion_mask');
+ $b->set_events(${ Gtk3::Gdk::EventMask->new("pointer_motion_mask") });
gtkadd($W->{window}, gtkadd($b, gtkpack_($W->create_box_with_title,
0, mygtk3::gtknew('Title1', label => N("Services and daemons")),
1, gtkset_size_request(create_scrolled_window(create_packtable({ col_spacings => 10, row_spacings => 3 },
diff --git a/perl-install/standalone/drakclock b/perl-install/standalone/drakclock
index 5e38ff6e3..a61ac98ac 100755
--- a/perl-install/standalone/drakclock
+++ b/perl-install/standalone/drakclock
@@ -190,7 +190,7 @@ if (-e $ntpfile && is_ntp_daemon_running()) {
} else { ntp_widget_state(0) }
my $pressed;
-$drawing_area->set_events([ 'button_press_mask', 'button_release_mask', "pointer_motion_mask" ]);
+$drawing_area->set_events(${ Gtk3::Gdk::EventMask->new([ 'button_press_mask', 'button_release_mask', "pointer_motion_mask" ]) });
$drawing_area->signal_connect(draw => \&draw);
$drawing_area->signal_connect(realize => sub {
my $window = $drawing_area->get_window;