1. 25 Mar, 2020 3 commits
  2. 24 Mar, 2020 14 commits
  3. 23 Mar, 2020 7 commits
  4. 21 Mar, 2020 1 commit
  5. 20 Mar, 2020 5 commits
  6. 19 Mar, 2020 5 commits
  7. 18 Mar, 2020 4 commits
    • Sébastien Wilmet's avatar
      build: X11 dependency no longer required! · 9a74ce01
      Sébastien Wilmet authored
      Finally.
      
      X11 is deprecated. Linking against the x11 lib prevented gedit from
      being a native Wayland app.
      9a74ce01
    • Sébastien Wilmet's avatar
      Remove GeditAppX11 class · fca08ebc
      Sébastien Wilmet authored
      In the main() function, create the parent class instead: GeditApp (this
      requires a small change in GeditApp to make it a concrete class instead
      of an abstract class).
      
      GeditAppX11 did only one thing (providing the desktop-startup-id in case
      the information is needed but not already set). And by looking at the
      GTK 3 code, it's now done by GtkApplication (search "desktop-startup-id"
      in gtkapplication.c).
      
      This removes some X11-specific code from gedit, which is also a welcome
      change since X11 is deprecated and linking against the X11 library
      prevents gedit from being a native Wayland app.
      fca08ebc
    • Sébastien Wilmet's avatar
      Remove X11 workspace awareness · d0728e7d
      Sébastien Wilmet authored
      Unfortunately workspaces information is currently not supported on
      Wayland:
      gtk#2506
      
      And X11 is deprecated. The X11-specific code in gedit prevents gedit
      from being a native Wayland app.
      
      Fixes #177
      d0728e7d
    • Sébastien Wilmet's avatar
      utils: remove GBOOLEAN_TO_POINTER() and GPOINTER_TO_BOOLEAN() · 9ab7b0f0
      Sébastien Wilmet authored
      Those two public symbols caused the following build warnings:
      
      ../gedit/gedit-utils.h:31: Warning: Gedit: symbol='GBOOLEAN_TO_POINTER':
      Unknown namespace for symbol 'GBOOLEAN_TO_POINTER'
      ../gedit/gedit-utils.h:32: Warning: Gedit: symbol='GPOINTER_TO_BOOLEAN':
      Unknown namespace for symbol 'GPOINTER_TO_BOOLEAN'
      
      Move those macros in the single file where it is used. I've checked that
      it's not used in gedit-plugins.
      
      As a replacement, you can simply use GINT_TO_POINTER() and
      GPOINTER_TO_INT() provided by the GLib. A gboolean is a gint.
      
      Nowadays instead of using g_object_set_data() in gedit-commands-file.c,
      a GTask could be used, where the gboolean can be stored in a proper
      struct.
      9ab7b0f0
  8. 17 Mar, 2020 1 commit