Ticket #60610: patch-gedit-quartz.diff

File patch-gedit-quartz.diff, 869 bytes (added by kencu (Ken), 4 years ago)
  • gedit/gedit-app-osx.c

    diff --git gedit/gedit-app-osx.c gedit/gedit-app-osx.c
    index 6d28e1f..7923e8b 100644
     
    3232#include "gedit-commands.h"
    3333#include "gedit-commands-private.h"
    3434#include "gedit-recent.h"
     35#import  <AppKit/AppKit.h>
     36
     37NSWindow *gdk_quartz_window_get_nswindow(GdkWindow *window);
     38NSEvent *gdk_quartz_event_get_nsevent(GdkEvent *event);
    3539
    3640static GeditWindow *
    3741ensure_window (GeditAppOSX *app,
  • gedit/gedit-file-chooser-dialog-osx.c

    diff --git gedit/gedit-file-chooser-dialog-osx.c gedit/gedit-file-chooser-dialog-osx.c
    index 829ec40..a2f2b92 100644
     
    3232#include "gedit-encodings-dialog.h"
    3333#include "gedit-utils.h"
    3434
     35NSWindow *gdk_quartz_window_get_nswindow(GdkWindow *window);
     36
    3537struct _GeditFileChooserDialogOSX
    3638{
    3739        GObject parent_instance;