summaryrefslogtreecommitdiffstats
path: root/office/evince/shim.h
diff options
context:
space:
mode:
author Matteo Bernardini <ponce@slackbuilds.org>2020-01-04 01:20:07 +0100
committer Robby Workman <rworkman@slackbuilds.org>2021-04-17 23:20:57 -0500
commiteef1142c415b7769dd7ea44a8e5f735acb6b9f04 (patch)
tree5bb8aed09a524c42db93cf48f8493edceb12c7ec /office/evince/shim.h
parent2b05134ec83073805155433a89d8a3814e2a2221 (diff)
downloadslackbuilds-eef1142c415b7769dd7ea44a8e5f735acb6b9f04.tar.gz
slackbuilds-eef1142c415b7769dd7ea44a8e5f735acb6b9f04.tar.xz
office/evince: Updated for version 3.34.2.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to '')
-rw-r--r--office/evince/shim.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/office/evince/shim.h b/office/evince/shim.h
deleted file mode 100644
index 8439c34ac5..0000000000
--- a/office/evince/shim.h
+++ /dev/null
@@ -1,25 +0,0 @@
-/* 20191231 bkw: This seems like stupidity: g_content_type_is_mime_type
- is a new function in glib-2.52, which literally just calls the
- g_content_type_is_a function from older glibs, and returns its
- result. Here's the function from the glib-2.52 source:
-
- gboolean
- g_content_type_is_mime_type (const gchar *type,
- const gchar *mime_type)
- {
- return g_content_type_is_a (type, mime_type);
- }
-
- The docs describe it as a "convenience wrapper" but there's
- nothing more or less convenient about it, except that it breaks builds
- with older glib versions. Why does it even exist?
- */
-#define g_content_type_is_mime_type(x,y) g_content_type_is_a(x,y)
-
-/* 20191231 bkw: We'd need gtk+-3.22 to have gtk_popover_popup and
- gtk_popover_popdown. They're functionally the same as gtk_widget_show
- and gtk_widget_hide, except they have a "transition" (fade-in/out).
- Some folks might actually prefer it without the fade.
- */
-#define gtk_popover_popup(x) gtk_widget_show(GTK_WIDGET(x))
-#define gtk_popover_popdown(x) gtk_widget_hide(GTK_WIDGET(x))