[gimp] libgimpbase: remove gimp_gtkrc()
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] libgimpbase: remove gimp_gtkrc()
- Date: Sat, 21 Sep 2019 10:57:12 +0000 (UTC)
commit a4775d5b2d8f6f263c4600ce1f01180f9504b115
Author: Michael Natterer <mitch gimp org>
Date: Sat Sep 21 12:56:52 2019 +0200
libgimpbase: remove gimp_gtkrc()
libgimpbase/gimpbase.def | 1 -
libgimpbase/gimpenv.c | 25 -------------------------
libgimpbase/gimpenv.h | 1 -
3 files changed, 27 deletions(-)
---
diff --git a/libgimpbase/gimpbase.def b/libgimpbase/gimpbase.def
index 9e31b696fb..1e5156c119 100644
--- a/libgimpbase/gimpbase.def
+++ b/libgimpbase/gimpbase.def
@@ -58,7 +58,6 @@ EXPORTS
gimp_gradient_segment_type_get_type
gimp_gradient_type_get_type
gimp_grid_style_get_type
- gimp_gtkrc
gimp_hue_range_get_type
gimp_icon_type_get_type
gimp_image_base_type_get_type
diff --git a/libgimpbase/gimpenv.c b/libgimpbase/gimpenv.c
index 85255a807a..4e09ab3db9 100644
--- a/libgimpbase/gimpenv.c
+++ b/libgimpbase/gimpenv.c
@@ -934,31 +934,6 @@ gimp_personal_rc_file (const gchar *basename)
return g_build_filename (gimp_directory (), basename, NULL);
}
-/**
- * gimp_gtkrc:
- *
- * Returns the name of GIMP's application-specific gtkrc file.
- *
- * The returned string is owned by GIMP and must not be modified or
- * freed. The returned string is in the encoding used for filenames by
- * GLib, which isn't necessarily UTF-8. (On Windows it always is
- * UTF-8.)
- *
- * Returns: The name of GIMP's application-specific gtkrc file.
- **/
-const gchar *
-gimp_gtkrc (void)
-{
- static gchar *gimp_gtkrc_filename = NULL;
-
- if (! gimp_gtkrc_filename)
- gimp_gtkrc_filename = g_build_filename (gimp_data_directory (),
- "themes", "System", "gtkrc",
- NULL);
-
- return gimp_gtkrc_filename;
-}
-
/**
* gimp_path_runtime_fix:
* @path: A pointer to a string (allocated with g_malloc) that is
diff --git a/libgimpbase/gimpenv.h b/libgimpbase/gimpenv.h
index 502142abbe..78cd6591d9 100644
--- a/libgimpbase/gimpenv.h
+++ b/libgimpbase/gimpenv.h
@@ -69,7 +69,6 @@ GFile * gimp_sysconf_directory_file (const gchar *first_element,
GFile * gimp_plug_in_directory_file (const gchar *first_element,
...) G_GNUC_MALLOC;
-const gchar * gimp_gtkrc (void) G_GNUC_CONST;
gchar * gimp_personal_rc_file (const gchar *basename) G_GNUC_MALLOC;
GList * gimp_path_parse (const gchar *path,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]