diff options
author | Sébastien Wilmet <swilmet@informatique-libre.be> | 2022-12-27 16:00:00 +0100 |
---|---|---|
committer | Sébastien Wilmet <swilmet@informatique-libre.be> | 2022-12-27 16:00:00 +0100 |
commit | b648d64c1492c187000e92377a390e65d7ddadf5 (patch) | |
tree | 3cb952f2c789d7104863ef717735740fbd99d7fe | |
parent | ad84a70f9cbdcebc292598ff6d5e24ec36727f12 (diff) | |
download | gedit-b648d64c1492c187000e92377a390e65d7ddadf5.tar.gz |
app-osx: fix for gedit_document_is_untitled()
gedit_document_is_untitled() has been removed from the gedit API (for
plugins), but still exists with _gedit_document_is_untitled().
See https://gitlab.gnome.org/GNOME/gedit/-/issues/539
-rw-r--r-- | gedit/gedit-app-osx.m | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gedit/gedit-app-osx.m b/gedit/gedit-app-osx.m index cc38129d8..fd1675ad6 100644 --- a/gedit/gedit-app-osx.m +++ b/gedit/gedit-app-osx.m @@ -31,6 +31,7 @@ #include "gedit-debug.h" #include "gedit-commands.h" #include "gedit-commands-private.h" +#include "gedit-document-private.h" #include "gedit-recent-osx.h" #import <AppKit/AppKit.h> @@ -265,7 +266,7 @@ gedit_app_osx_set_window_title_impl (GeditApp *app, { bool ismodified; - if (gedit_document_is_untitled (document)) + if (_gedit_document_is_untitled (document)) { [native setRepresentedURL:nil]; } |