~ubuntu-branches/ubuntu/trusty/monodevelop/trusty-proposed

« back to all changes in this revision

Viewing changes to src/core/Mono.Texteditor/Mono.TextEditor/Gui/GtkGestures.cs

  • Committer: Package Import Robot
  • Author(s): Jo Shields
  • Date: 2013-05-12 09:46:03 UTC
  • mto: This revision was merged to the branch mainline in revision 29.
  • Revision ID: package-import@ubuntu.com-20130512094603-mad323bzcxvmcam0
Tags: upstream-4.0.5+dfsg
ImportĀ upstreamĀ versionĀ 4.0.5+dfsg

Show diffs side-by-side

added added

removed removed

Lines of Context:
34
34
        {
35
35
                const int GDK_GESTURE_MAGNIFY = 37;
36
36
                const int GDK_GESTURE_ROTATE  = 38;
37
 
                const int GDK_GESTURE_SWIPE   = 39;
38
 
 
39
 
                [DllImport (PangoUtil.LIBGDK)]
 
37
                const int GDK_GESTURE_SWIPE   = 39;
 
38
 
 
39
                [DllImport (PangoUtil.LIBGDK, CallingConvention = CallingConvention.Cdecl)]
40
40
                static extern bool gdk_quartz_supports_gesture_events ();
41
41
 
42
42
                static bool isSupported;
46
46
                        if (Platform.IsMac) {
47
47
                                try {
48
48
                                        isSupported = gdk_quartz_supports_gesture_events ();
49
 
                                        Console.WriteLine (isSupported);
50
49
                                } catch (EntryPointNotFoundException) {
51
50
                                }
52
51
                        }