[gtk] Remove gtkmodules.h
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] Remove gtkmodules.h
- Date: Sun, 18 Feb 2018 14:43:11 +0000 (UTC)
commit 5b4082ac87c970c1b624272bd0073ad3af50106f
Author: Matthias Clasen <mclasen redhat com>
Date: Sun Feb 18 09:02:05 2018 -0500
Remove gtkmodules.h
We don't use these definitions anymore.
Also clean up the docs wrt to modules.
docs/reference/gtk/gtk4-sections.txt | 3 --
docs/reference/gtk/running.sgml | 27 ++----------------
gtk/gtk.h | 1 -
gtk/gtkmodules.c | 1 -
gtk/gtkmodules.h | 54 ------------------------------------
gtk/gtkprintbackend.c | 1 -
gtk/meson.build | 1 -
7 files changed, 2 insertions(+), 86 deletions(-)
---
diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt
index 75c71e609c..45ee4de405 100644
--- a/docs/reference/gtk/gtk4-sections.txt
+++ b/docs/reference/gtk/gtk4-sections.txt
@@ -4600,9 +4600,6 @@ gtk_main_iteration
gtk_main_iteration_do
gtk_main_do_event
-GtkModuleInitFunc
-GtkModuleDisplayInitFunc
-
<SUBSECTION>
gtk_grab_add
gtk_grab_get_current
diff --git a/docs/reference/gtk/running.sgml b/docs/reference/gtk/running.sgml
index ebf9851756..e26370f12d 100644
--- a/docs/reference/gtk/running.sgml
+++ b/docs/reference/gtk/running.sgml
@@ -122,36 +122,13 @@ additional environment variables.
</para>
</formalpara>
-<formalpara>
- <title><envar>GTK3_MODULES</envar></title>
-
- <para>
- A list of modules to load. Note that GTK+ also allows to specify modules to load via a commandline
option (<option>--gtk-module</option>) and with the <literal>gtk-modules</literal> setting.
- </para>
-</formalpara>
-
-<formalpara>
- <title><envar>GTK_MODULES</envar></title>
-
- <para>
- A list of modules to load in addition to the ones in the <envar>GTK3_MODULES</envar> variable.
- </para>
- <warning>
- Note that this environment variable is read by GTK+ 2.x too,
- which may not have the same set of modules available for loading.
- Use <envar>GTK3_MODULES</envar> for modules that are only compatible
- with GTK+ 3.
- </warning>
-</formalpara>
-
<formalpara id="gtk-path">
<title><envar>GTK_PATH</envar></title>
<para>
Specifies a list of directories to search when GTK+ is looking for
- dynamically loaded objects such as the modules specified by
- <envar>GTK_MODULES</envar>, theme engines, input method
- modules, file system backends and print backends. If the path to
+ dynamically loaded objects such as input method
+ modules and print backends. If the path to
the dynamically loaded object is given as an absolute path name,
then GTK+ loads it directly.
Otherwise, GTK+ goes in turn through the directories in <envar>GTK_PATH</envar>,
diff --git a/gtk/gtk.h b/gtk/gtk.h
index 3143f3f7f2..bb7fc29a4b 100644
--- a/gtk/gtk.h
+++ b/gtk/gtk.h
@@ -146,7 +146,6 @@
#include <gtk/gtkmenutoolbutton.h>
#include <gtk/gtkmessagedialog.h>
#include <gtk/gtkmodelbutton.h>
-#include <gtk/gtkmodules.h>
#include <gtk/gtkmountoperation.h>
#include <gtk/gtknativedialog.h>
#include <gtk/gtknotebook.h>
diff --git a/gtk/gtkmodules.c b/gtk/gtkmodules.c
index d8e98c848b..57e6eb0f24 100644
--- a/gtk/gtkmodules.c
+++ b/gtk/gtkmodules.c
@@ -20,7 +20,6 @@
#include <string.h>
-#include "gtkmodules.h"
#include "gtksettings.h"
#include "gtkdebug.h"
#include "gtkprivate.h"
diff --git a/gtk/gtkprintbackend.c b/gtk/gtkprintbackend.c
index 38bb769ee8..bd294fca0f 100644
--- a/gtk/gtkprintbackend.c
+++ b/gtk/gtkprintbackend.c
@@ -22,7 +22,6 @@
#include <gmodule.h>
#include "gtkintl.h"
-#include "gtkmodules.h"
#include "gtkmodulesprivate.h"
#include "gtkmarshalers.h"
#include "gtkprivate.h"
diff --git a/gtk/meson.build b/gtk/meson.build
index 92d4c0b434..4379956d86 100644
--- a/gtk/meson.build
+++ b/gtk/meson.build
@@ -486,7 +486,6 @@ gtk_public_headers = files([
'gtkmenutoolbutton.h',
'gtkmessagedialog.h',
'gtkmodelbutton.h',
- 'gtkmodules.h',
'gtkmountoperation.h',
'gtknativedialog.h',
'gtknotebook.h',
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]