[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: gaf.git: branch: master updated (1.5.0-20080706-148-gc8fffac)
The branch, master has been updated
via c8fffac5b00946ae8d709e7947c62893615e1263 (commit)
from 04d0eb73a3324d1383ba14bc3ab2834972e041b2 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
=========
Summary
=========
libgeda/include/i_vars_priv.h | 1 -
libgeda/include/prototype_priv.h | 1 -
libgeda/include/struct.h | 1 -
libgeda/src/g_rc.c | 19 -------------------
libgeda/src/g_register.c | 1 -
libgeda/src/i_vars.c | 3 ---
libgeda/src/s_toplevel.c | 2 --
7 files changed, 0 insertions(+), 28 deletions(-)
=================
Commit Messages
=================
commit c8fffac5b00946ae8d709e7947c62893615e1263
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date: Sun Aug 24 20:12:08 2008 +0100
Remove unused toplevel variable "series_name"
:100644 100644 7ffee13... 537f664... M libgeda/include/i_vars_priv.h
:100644 100644 21975c4... 4f585af... M libgeda/include/prototype_priv.h
:100644 100644 822a3c0... c12839b... M libgeda/include/struct.h
:100644 100644 7124d20... 87c87f1... M libgeda/src/g_rc.c
:100644 100644 12d6751... 5b176d5... M libgeda/src/g_register.c
:100644 100644 3fd93e6... c07372c... M libgeda/src/i_vars.c
:100644 100644 34ae892... b2f396d... M libgeda/src/s_toplevel.c
=========
Changes
=========
commit c8fffac5b00946ae8d709e7947c62893615e1263
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date: Sun Aug 24 20:12:08 2008 +0100
Remove unused toplevel variable "series_name"
diff --git a/libgeda/include/i_vars_priv.h b/libgeda/include/i_vars_priv.h
index 7ffee13..537f664 100644
--- a/libgeda/include/i_vars_priv.h
+++ b/libgeda/include/i_vars_priv.h
@@ -2,7 +2,6 @@
extern int default_init_right;
extern int default_init_bottom;
-extern char *default_series_name;
extern char *default_untitled_name;
extern char *default_font_directory;
extern char *default_scheme_directory;
diff --git a/libgeda/include/prototype_priv.h b/libgeda/include/prototype_priv.h
index 21975c4..4f585af 100644
--- a/libgeda/include/prototype_priv.h
+++ b/libgeda/include/prototype_priv.h
@@ -21,7 +21,6 @@ SCM g_rc_source_library_search(SCM path);
SCM g_rc_world_size(SCM width, SCM height, SCM border);
SCM g_rc_reset_component_library(void);
SCM g_rc_reset_source_library(void);
-SCM g_rc_default_series_name(SCM name);
SCM g_rc_untitled_name(SCM name);
SCM g_rc_font_directory(SCM path);
SCM g_rc_bitmap_directory(SCM path);
diff --git a/libgeda/include/struct.h b/libgeda/include/struct.h
index 822a3c0..c12839b 100644
--- a/libgeda/include/struct.h
+++ b/libgeda/include/struct.h
@@ -393,7 +393,6 @@ struct st_toplevel {
GList *RC_list; /* List of RC files which have been read in. */
- char *series_name; /* Current series basename */
char *untitled_name; /* untitled sch basename */
char *font_directory; /* path of the vector fonts */
char *scheme_directory; /* path of the scheme scripts */
diff --git a/libgeda/src/g_rc.c b/libgeda/src/g_rc.c
index 7124d20..87c87f1 100644
--- a/libgeda/src/g_rc.c
+++ b/libgeda/src/g_rc.c
@@ -739,25 +739,6 @@ SCM g_rc_world_size(SCM width, SCM height, SCM border)
* \brief
* \par Function Description
*
- * \param [in] name
- * \return SCM_BOOL_T always.
- */
-SCM g_rc_default_series_name(SCM name)
-{
- SCM_ASSERT (scm_is_string (name), name,
- SCM_ARG1, "default-series-name");
-
- g_free(default_series_name);
-
- default_series_name = g_strdup (SCM_STRING_CHARS (name));
-
- return SCM_BOOL_T;
-}
-
-/*! \todo Finish function description!!!
- * \brief
- * \par Function Description
- *
* \param [in] name
* \return SCM_BOOL_T always.
*/
diff --git a/libgeda/src/g_register.c b/libgeda/src/g_register.c
index 12d6751..5b176d5 100644
--- a/libgeda/src/g_register.c
+++ b/libgeda/src/g_register.c
@@ -61,7 +61,6 @@ static struct gsubr_t libgeda_funcs[] = {
{ "reset-component-library", 0, 0, 0, g_rc_reset_component_library },
{ "reset-source-library", 0, 0, 0, g_rc_reset_source_library },
- { "default-series-name", 1, 0, 0, g_rc_default_series_name },
{ "untitled-name", 1, 0, 0, g_rc_untitled_name },
{ "scheme-directory", 1, 0, 0, g_rc_scheme_directory },
{ "bitmap-directory", 1, 0, 0, g_rc_bitmap_directory },
diff --git a/libgeda/src/i_vars.c b/libgeda/src/i_vars.c
index 3fd93e6..c07372c 100644
--- a/libgeda/src/i_vars.c
+++ b/libgeda/src/i_vars.c
@@ -48,7 +48,6 @@
int default_init_right = WIDTH_C;
int default_init_bottom = HEIGHT_C;
-char *default_series_name = NULL;
char *default_untitled_name = NULL;
char *default_font_directory = NULL;
char *default_scheme_directory = NULL;
@@ -79,7 +78,6 @@ void i_vars_libgeda_set(TOPLEVEL *toplevel)
/* you cannot free the default* strings here since new windows */
/* need them */
- INIT_STR(toplevel, series_name , DEFAULT_SERIES_NAME );
INIT_STR(toplevel, untitled_name , DEFAULT_UNTITLED_NAME );
INIT_STR(toplevel, font_directory , DEFAULT_FONT_DIRECTORY );
INIT_STR(toplevel, scheme_directory, DEFAULT_SCHEME_DIRECTORY);
@@ -98,7 +96,6 @@ void i_vars_libgeda_set(TOPLEVEL *toplevel)
*/
void i_vars_libgeda_freenames()
{
- g_free(default_series_name);
g_free(default_untitled_name);
g_free(default_font_directory);
g_free(default_scheme_directory);
diff --git a/libgeda/src/s_toplevel.c b/libgeda/src/s_toplevel.c
index 34ae892..b2f396d 100644
--- a/libgeda/src/s_toplevel.c
+++ b/libgeda/src/s_toplevel.c
@@ -50,7 +50,6 @@ TOPLEVEL *s_toplevel_new (void)
toplevel->RC_list = NULL;
- toplevel->series_name = NULL;
toplevel->untitled_name = NULL;
toplevel->font_directory = NULL;
toplevel->scheme_directory = NULL;
@@ -170,7 +169,6 @@ void s_toplevel_delete (TOPLEVEL *toplevel)
g_source_remove (toplevel->auto_save_timeout);
}
- g_free (toplevel->series_name);
g_free (toplevel->untitled_name);
g_free (toplevel->font_directory);
g_free (toplevel->scheme_directory);
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs