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

gEDA-cvs: gaf.git: branch: master updated (1.5.0-20080706-269-g1aab943)



The branch, master has been updated
       via  1aab94354f053887db67aa5702abc595795dfe82 (commit)
      from  79da8125fa7ac7a005710ed2a6340004a66402a5 (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
=========

 gattrib/src/globals.c   |    1 -
 gschem/src/globals.c    |    3 ---
 gschem/src/gschem.c     |    1 +
 utils/gschlas/globals.c |    3 ---
 4 files changed, 1 insertions(+), 7 deletions(-)


=================
 Commit Messages
=================

commit 1aab94354f053887db67aa5702abc595795dfe82
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Date:   Wed Oct 29 12:14:19 2008 +0000

    Define select_func only in libgeda.
    
    Importing definitions from linkees breaks when linking libraries on
    Windows.

:100644 100644 c83c26c... 7731c13... M	gattrib/src/globals.c
:100644 100644 e0d25a5... d5fc4a5... M	gschem/src/globals.c
:100644 100644 633d33d... 9b3384a... M	gschem/src/gschem.c
:100644 100644 74f9958... 8885a8c... M	utils/gschlas/globals.c

=========
 Changes
=========

commit 1aab94354f053887db67aa5702abc595795dfe82
Author: Peter TB Brett <peter@xxxxxxxxxxxxx>
Date:   Wed Oct 29 12:14:19 2008 +0000

    Define select_func only in libgeda.
    
    Importing definitions from linkees breaks when linking libraries on
    Windows.

diff --git a/gattrib/src/globals.c b/gattrib/src/globals.c
index c83c26c..7731c13 100644
--- a/gattrib/src/globals.c
+++ b/gattrib/src/globals.c
@@ -39,6 +39,5 @@ int quiet_mode=FALSE;
 /* these are required by libgeda */
 /* I have made most of these NULL because they aren't needed
  * for gattrib -- no drawing is done. */
-void (*select_func)() = s_toplevel_select_object;
 void (*variable_set_func)() = i_vars_set;
 
diff --git a/gschem/src/globals.c b/gschem/src/globals.c
index e0d25a5..d5fc4a5 100644
--- a/gschem/src/globals.c
+++ b/gschem/src/globals.c
@@ -49,9 +49,6 @@ GdkColor black;
 
 int logging_dest = LOG_WINDOW;
 
-/* these are required by libgeda */
-void (*select_func)()        = o_select_object; /* NEW SELECTION code */
-
 /* command line options */
 int quiet_mode = FALSE;
 int verbose_mode = FALSE;
diff --git a/gschem/src/gschem.c b/gschem/src/gschem.c
index 633d33d..9b3384a 100644
--- a/gschem/src/gschem.c
+++ b/gschem/src/gschem.c
@@ -178,6 +178,7 @@ void main_prog(void *closure, int argc, char *argv[])
   pin_draw_func = o_pin_draw;
   text_draw_func = o_text_draw;
   load_newer_backup_func = x_fileselect_load_backup;
+  select_func = o_select_object;
 
   /*! \todo Probably the file name shuold be defined elsewhere */
   /* create log file right away even if logging is enabled */
diff --git a/utils/gschlas/globals.c b/utils/gschlas/globals.c
index 74f9958..8885a8c 100644
--- a/utils/gschlas/globals.c
+++ b/utils/gschlas/globals.c
@@ -46,9 +46,6 @@ GdkColor black;
 int logfile_fd=-1;
 int logging_dest=LOG_WINDOW;
 
-/* these are required by libgeda */
-void (*select_func)() = o_select_dummy;
-
 /* this is just a dummy function, so that compoments are saved properly */
 void
 o_select_dummy(TOPLEVEL * w_current, OBJECT * o_current,




_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs