[perl-Gtk3] Avoid unnecessary semicolons



commit 5f840c195518fab65a7f12758f4458c3195c4cea
Author: Torsten Schönfeld <kaffeetisch gmx de>
Date:   Sun Sep 1 14:58:31 2013 +0200

    Avoid unnecessary semicolons
    
    Spotted by Thierry Vignaud.

 lib/Gtk3.pm |   16 ++++++++--------
 1 files changed, 8 insertions(+), 8 deletions(-)
---
diff --git a/lib/Gtk3.pm b/lib/Gtk3.pm
index 57a9044..3e066ab 100644
--- a/lib/Gtk3.pm
+++ b/lib/Gtk3.pm
@@ -1224,14 +1224,14 @@ sub Gtk3::Gdk::Window::new {
   my ($class, $parent, $attr, $attr_mask) = @_;
   if (not defined $attr_mask) {
     $attr_mask = Gtk3::Gdk::WindowAttributesType->new ([]);
-    if (exists $attr->{title}) { $attr_mask |= 'GDK_WA_TITLE' };
-    if (exists $attr->{x}) { $attr_mask |= 'GDK_WA_X' };
-    if (exists $attr->{y}) { $attr_mask |= 'GDK_WA_Y' };
-    if (exists $attr->{cursor}) { $attr_mask |= 'GDK_WA_CURSOR' };
-    if (exists $attr->{visual}) { $attr_mask |= 'GDK_WA_VISUAL' };
-    if (exists $attr->{wmclass_name} && exists $attr->{wmclass_class}) { $attr_mask |= 'GDK_WA_WMCLASS' };
-    if (exists $attr->{override_redirect}) { $attr_mask |= 'GDK_WA_NOREDIR' };
-    if (exists $attr->{type_hint}) { $attr_mask |= 'GDK_WA_TYPE_HINT' };
+    if (exists $attr->{title})                                         { $attr_mask |= 'GDK_WA_TITLE' }
+    if (exists $attr->{x})                                             { $attr_mask |= 'GDK_WA_X' }
+    if (exists $attr->{y})                                             { $attr_mask |= 'GDK_WA_Y' }
+    if (exists $attr->{cursor})                                        { $attr_mask |= 'GDK_WA_CURSOR' }
+    if (exists $attr->{visual})                                        { $attr_mask |= 'GDK_WA_VISUAL' }
+    if (exists $attr->{wmclass_name} && exists $attr->{wmclass_class}) { $attr_mask |= 'GDK_WA_WMCLASS' }
+    if (exists $attr->{override_redirect})                             { $attr_mask |= 'GDK_WA_NOREDIR' }
+    if (exists $attr->{type_hint})                                     { $attr_mask |= 'GDK_WA_TYPE_HINT' }
     if (!Gtk3::CHECK_VERSION (3, 4, 4)) {
       # Before 3.4.4 or 3.5.6, the attribute mask parameter lacked proper
       # annotations, hence we numerify it here.  FIXME: This breaks


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]