Skip to content

Commit

Permalink
Guard GetMenu
Browse files Browse the repository at this point in the history
  • Loading branch information
milani committed Nov 4, 2012
1 parent 81c39ec commit 272b62c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/native_status_icon/native_status_icon.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,10 @@ class NativeStatusIcon {

void SetV8Handle(v8::Handle<v8::Object> v8handle) {v8handle_ = v8handle;};
v8::Handle<v8::Object> GetV8Handle() {return v8handle_;};
NativeMenu* GetMenu() { return menu_;};

#ifdef __WIN__
NativeMenu* GetMenu() { return menu_;};
#endif
private:
v8::Handle<v8::Object> v8handle_;

Expand Down

0 comments on commit 272b62c

Please sign in to comment.