Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(814)

Issue 5756061: Remove some unused code. (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
12 years, 8 months ago by Peng
Modified:
12 years, 8 months ago
Reviewers:
fujiwara
Base URL:
git@github.com:ibus/ibus.git@master
Visibility:
Public.

Description

Remove some unused code. BUG=None TEST=Make

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+0 lines, -191 lines) Patch
M bus/ibusimpl.c View 1 chunk +0 lines, -20 lines 0 comments Download
M client/x11/gdk-private.c View 3 chunks +0 lines, -64 lines 0 comments Download
M src/ibuscomponent.c View 1 chunk +0 lines, -15 lines 0 comments Download
M src/ibusconfigservice.c View 3 chunks +0 lines, -41 lines 0 comments Download
M src/ibusshare.c View 1 chunk +0 lines, -51 lines 0 comments Download

Messages

Total messages: 2
Peng
12 years, 8 months ago (2012-03-06 20:21:07 UTC) #1
fujiwara
12 years, 8 months ago (2012-03-07 02:02:46 UTC) #2
On 2012/03/06 20:21:07, Peng wrote:

lgtm.

Probably I think the following change is also good.

--- ibus/ui/gtk3/keybindingmanager.vala.orig
+++ ibus/ui/gtk3/keybindingmanager.vala
@@ -85,8 +85,6 @@ public class KeybindingManager : GLib.Ob
         Gdk.ModifierType modifiers;
         Gtk.accelerator_parse(accelerator, out keysym, out modifiers);
 
-        get_primary_modifier(modifiers);
-
         unowned X.Display display = Gdk.x11_get_default_xdisplay();
 
         int keycode = display.keysym_to_keycode(keysym);
@@ -147,7 +145,7 @@ public class KeybindingManager : GLib.Ob
             Gdk.ModifierType.SHIFT_MASK,
             Gdk.ModifierType.LOCK_MASK
         };
-        foreach (var mask in masks) {
+        foreach (uint mask in masks) {
             if ((binding_mask & mask) == mask)
                 return mask;
         }
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b