[gtk+/composite-templates] wayland: Don't compare against GdkWindowTypeHint as a bitmask



commit 4e4d94e2cbbc73d117a7ffff8528c5c2ce899b95
Author: Rob Bradford <rob linux intel com>
Date:   Wed Jul 18 16:06:06 2012 +0100

    wayland: Don't compare against GdkWindowTypeHint as a bitmask
    
    The hint was being compared as a bitmask which means types that were not in
    the list were being erroneously matched

 gdk/wayland/gdkwindow-wayland.c |    6 ++--
 po-properties/zh_HK.po          |   52 +-------------------------------------
 po-properties/zh_TW.po          |   52 +-------------------------------------
 3 files changed, 7 insertions(+), 103 deletions(-)
---
diff --git a/gdk/wayland/gdkwindow-wayland.c b/gdk/wayland/gdkwindow-wayland.c
index 450df4a..f2b7bf3 100644
--- a/gdk/wayland/gdkwindow-wayland.c
+++ b/gdk/wayland/gdkwindow-wayland.c
@@ -635,9 +635,9 @@ gdk_wayland_window_map (GdkWindow *window)
         {
           parent = GDK_WINDOW_IMPL_WAYLAND (impl->transient_for->impl);
 
-          if (impl->hint & GDK_WINDOW_TYPE_HINT_POPUP_MENU ||
-              impl->hint & GDK_WINDOW_TYPE_HINT_DROPDOWN_MENU ||
-              impl->hint & GDK_WINDOW_TYPE_HINT_COMBO)
+          if (impl->hint == GDK_WINDOW_TYPE_HINT_POPUP_MENU ||
+              impl->hint == GDK_WINDOW_TYPE_HINT_DROPDOWN_MENU ||
+              impl->hint == GDK_WINDOW_TYPE_HINT_COMBO)
             {
               struct wl_seat *grab_input_seat = NULL;
 
diff --git a/po-properties/zh_HK.po b/po-properties/zh_HK.po
index 78913d8..db7bea3 100644
--- a/po-properties/zh_HK.po
+++ b/po-properties/zh_HK.po
@@ -8,8 +8,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gtk+ 3.1.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-07-18 19:33+0800\n"
-"PO-Revision-Date: 2012-07-18 19:33+0800\n"
+"POT-Creation-Date: 2012-07-14 14:11+0800\n"
+"PO-Revision-Date: 2012-07-14 14:11+0800\n"
 "Last-Translator: Chao-Hsiung Liao <j_h_liau yahoo com tw>\n"
 "Language-Team: Chinese (Hong Kong) <community linuxhall org>\n"
 "Language: zh_TW\n"
@@ -3828,54 +3828,6 @@ msgstr "äçåäéå"
 msgid "The height of the layout"
 msgstr "äçåäéå"
 
-#: ../gtk/gtklevelbar.c:870
-msgid "Currently filled value level"
-msgstr "çååææåçç"
-
-#: ../gtk/gtklevelbar.c:871
-msgid "Currently filled value level of the level bar"
-msgstr "ççåçåçåææåçç"
-
-#: ../gtk/gtklevelbar.c:884
-msgid "Minimum value level for the bar"
-msgstr "èåçæåæåçç"
-
-#: ../gtk/gtklevelbar.c:885
-msgid "Minimum value level that can be displayed by the bar"
-msgstr "èåèéççæåæåçç"
-
-#: ../gtk/gtklevelbar.c:898
-msgid "Maximum value level for the bar"
-msgstr "èåçæåæåçç"
-
-#: ../gtk/gtklevelbar.c:899
-msgid "Maximum value level that can be displayed by the bar"
-msgstr "èåèéççæåæåçç"
-
-#: ../gtk/gtklevelbar.c:918
-msgid "The mode of the value indicator"
-msgstr "æåæçåçæå"
-
-#: ../gtk/gtklevelbar.c:919
-msgid "The mode of the value indicator displayed by the bar"
-msgstr "èåèéççæåæçåæå"
-
-#: ../gtk/gtklevelbar.c:934
-msgid "Minimum height for filling blocks"
-msgstr "åæååçæåéå"
-
-#: ../gtk/gtklevelbar.c:935
-msgid "Minimum height for blocks that fill the bar"
-msgstr "èååæååçæåéå"
-
-#: ../gtk/gtklevelbar.c:948
-msgid "Minimum width for filling blocks"
-msgstr "åæååçæåéå"
-
-#: ../gtk/gtklevelbar.c:949
-msgid "Minimum width for blocks that fill the bar"
-msgstr "èååæååçæåéå"
-
 #: ../gtk/gtklinkbutton.c:175
 msgid "URI"
 msgstr "URI"
diff --git a/po-properties/zh_TW.po b/po-properties/zh_TW.po
index 20de69e..879eb19 100644
--- a/po-properties/zh_TW.po
+++ b/po-properties/zh_TW.po
@@ -8,8 +8,8 @@ msgid ""
 msgstr ""
 "Project-Id-Version: gtk+ 3.1.0\n"
 "Report-Msgid-Bugs-To: \n"
-"POT-Creation-Date: 2012-07-18 19:33+0800\n"
-"PO-Revision-Date: 2012-07-18 10:39+0800\n"
+"POT-Creation-Date: 2012-07-14 14:11+0800\n"
+"PO-Revision-Date: 2012-07-14 10:23+0800\n"
 "Last-Translator: Chao-Hsiung Liao <j_h_liau yahoo com tw>\n"
 "Language-Team: \n"
 "Language: zh_TW\n"
@@ -3851,54 +3851,6 @@ msgstr "äçåäåå"
 msgid "The height of the layout"
 msgstr "äçåäéå"
 
-#: ../gtk/gtklevelbar.c:870
-msgid "Currently filled value level"
-msgstr "çååææåçç"
-
-#: ../gtk/gtklevelbar.c:871
-msgid "Currently filled value level of the level bar"
-msgstr "ççåçåçåææåçç"
-
-#: ../gtk/gtklevelbar.c:884
-msgid "Minimum value level for the bar"
-msgstr "èåçæåæåçç"
-
-#: ../gtk/gtklevelbar.c:885
-msgid "Minimum value level that can be displayed by the bar"
-msgstr "èåèéççæåæåçç"
-
-#: ../gtk/gtklevelbar.c:898
-msgid "Maximum value level for the bar"
-msgstr "èåçæåæåçç"
-
-#: ../gtk/gtklevelbar.c:899
-msgid "Maximum value level that can be displayed by the bar"
-msgstr "èåèéççæåæåçç"
-
-#: ../gtk/gtklevelbar.c:918
-msgid "The mode of the value indicator"
-msgstr "æåæçåçæå"
-
-#: ../gtk/gtklevelbar.c:919
-msgid "The mode of the value indicator displayed by the bar"
-msgstr "èåèéççæåæçåæå"
-
-#: ../gtk/gtklevelbar.c:934
-msgid "Minimum height for filling blocks"
-msgstr "åæååçæåéå"
-
-#: ../gtk/gtklevelbar.c:935
-msgid "Minimum height for blocks that fill the bar"
-msgstr "èååæååçæåéå"
-
-#: ../gtk/gtklevelbar.c:948
-msgid "Minimum width for filling blocks"
-msgstr "åæååçæååå"
-
-#: ../gtk/gtklevelbar.c:949
-msgid "Minimum width for blocks that fill the bar"
-msgstr "èååæååçæååå"
-
 #: ../gtk/gtklinkbutton.c:175
 msgid "URI"
 msgstr "URI"



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