diff options
author | Sean Davis <smd.seandavis@gmail.com> | 2020-05-15 07:26:16 -0400 |
---|---|---|
committer | Sean Davis <smd.seandavis@gmail.com> | 2020-05-15 07:26:16 -0400 |
commit | a978d108f49b7b0f232183473335aca33d1cc550 (patch) | |
tree | fcc6d51057985972c535f523a6a198543db99c6c /exo-open | |
parent | 469d0a31869eac72f89812e1b486a3e2585e1339 (diff) | |
download | exo-a978d108f49b7b0f232183473335aca33d1cc550.tar.gz |
Drop GTK2 support
Dropping GTK2 support also means the following features are no longer part of the API: ExoCellRendererEllipsizedText, ExoIconBar, ExoToolbarsEditor, ExoToolbarsEditorDialog, ExoToolbarsModel, ExoToolbarsView, ExoWrapTable, ExoXsessionClient
Diffstat (limited to 'exo-open')
-rw-r--r-- | exo-open/Makefile.am | 4 | ||||
-rw-r--r-- | exo-open/main.c | 4 |
2 files changed, 2 insertions, 6 deletions
diff --git a/exo-open/Makefile.am b/exo-open/Makefile.am index 1693275..883585e 100644 --- a/exo-open/Makefile.am +++ b/exo-open/Makefile.am @@ -11,7 +11,7 @@ exo_open_SOURCES = \ main.c exo_open_CFLAGS = \ - $(GTK3_CFLAGS) \ + $(GTK_CFLAGS) \ $(LIBXFCE4UTIL_CFLAGS) \ $(GIO_CFLAGS) \ $(GIO_UNIX_CFLAGS) @@ -20,7 +20,7 @@ exo_open_LDFLAGS = \ -no-undefined exo_open_LDADD = \ - $(GTK3_LIBS) \ + $(GTK_LIBS) \ $(LIBXFCE4UTIL_LIBS) \ $(GIO_LIBS) \ $(GIO_UNIX_LIBS) \ diff --git a/exo-open/main.c b/exo-open/main.c index 7a3ee89..afdae9e 100644 --- a/exo-open/main.c +++ b/exo-open/main.c @@ -437,11 +437,7 @@ exo_open_uri (const gchar *uri, && (strcmp (scheme, "ftp") == 0 || strcmp (scheme, "ftps") == 0)) retval = exo_open_launch_category ("WebBrowser", uri); else -#if GTK_CHECK_VERSION (3, 22, 0) retval = gtk_show_uri_on_window (NULL, uri, 0, error); -#else - retval = gtk_show_uri (NULL, uri, 0, error); -#endif } g_free (scheme); |