[goffice] Compilation: remove unnecessary internal API.



commit 6c59990281cf65b34b54165961c32e17e218f7ea
Author: Morten Welinder <terra gnome org>
Date:   Mon Dec 29 19:15:57 2014 -0500

    Compilation: remove unnecessary internal API.

 ChangeLog                                |    5 +++++
 docs/reference/goffice-0.10-sections.txt |    1 -
 goffice/gtk/goffice-gtk.c                |   29 -----------------------------
 goffice/gtk/goffice-gtk.h                |    3 ---
 4 files changed, 5 insertions(+), 33 deletions(-)
---
diff --git a/ChangeLog b/ChangeLog
index a133153..5c5fbd7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-12-29  Morten Welinder  <terra gnome org>
+
+       * goffice/gtk/goffice-gtk.h (go_gtk_builder_new_internal): Remove.
+       Anyone crazy enough to use that deserves the pain.
+
 2014-12-28  Morten Welinder  <terra gnome org>
 
        * goffice/gtk/goffice-gtk.c (go_gtk_builder_load_internal):
diff --git a/docs/reference/goffice-0.10-sections.txt b/docs/reference/goffice-0.10-sections.txt
index 286fd6f..e4853ee 100644
--- a/docs/reference/goffice-0.10-sections.txt
+++ b/docs/reference/goffice-0.10-sections.txt
@@ -2753,7 +2753,6 @@ go_gtk_builder_group_value
 go_gtk_builder_load
 go_gtk_builder_load_internal
 go_gtk_builder_new
-go_gtk_builder_new_internal
 go_gtk_builder_signal_connect
 go_gtk_builder_signal_connect_swapped
 go_gtk_button_build_with_stock
diff --git a/goffice/gtk/goffice-gtk.c b/goffice/gtk/goffice-gtk.c
index c42b815..1196521 100644
--- a/goffice/gtk/goffice-gtk.c
+++ b/goffice/gtk/goffice-gtk.c
@@ -292,35 +292,6 @@ go_gtk_builder_load_internal (char const *uifile,
 }
 
 /**
- * go_gtk_builder_new_internal:
- * @uifile: the name of the file load
- * @domain: the translation domain
- * @gcc: #GOCmdContext
- *
- * Simple utility to open ui files
- *
- * Deprecated: 0.9.6, use go_gtk_builder_load_internal().
- * Returns: (transfer full): a new #GtkBuilder or NULL
- *
- * Variant of go_gtk_builder_new that searchs goffice directories
- * for files.
- * @uifile should be one of these:
- *
- * res:NAME  -- data from resource manager
- * data:DATA -- data right here
- * filename  -- data from local file
- *
- * Data may be compressed, regardless of source.
-**/
-GtkBuilder *
-go_gtk_builder_new_internal (char const *uifile,
-                            char const *domain, GOCmdContext *gcc)
-{
-       return go_gtk_builder_load_internal (uifile, domain, gcc);
-}
-
-
-/**
  * go_gtk_builder_signal_connect:
  * @gui: #GtkBuilder
  * @instance_name: widget name
diff --git a/goffice/gtk/goffice-gtk.h b/goffice/gtk/goffice-gtk.h
index aa7de4b..eeba9bc 100644
--- a/goffice/gtk/goffice-gtk.h
+++ b/goffice/gtk/goffice-gtk.h
@@ -62,9 +62,6 @@ GtkBuilder *go_gtk_builder_load_internal (char const *uifile,
 GtkBuilder *go_gtk_builder_load (char const *uifile,
                                char const *domain, GOCmdContext *gcc);
 #ifndef GOFFICE_DISABLE_DEPRECATED
-GOFFICE_DEPRECATED_FOR(go_gtk_builder_load_internal)
-GtkBuilder *go_gtk_builder_new_internal (char const *uifile,
-                                        char const *domain, GOCmdContext *gcc);
 GOFFICE_DEPRECATED_FOR(go_gtk_builder_load)
 GtkBuilder *go_gtk_builder_new (char const *uifile,
                                char const *domain, GOCmdContext *gcc);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]