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

gEDA-cvs: branch: master updated (1.1.2.20070818-58-g201b6ae)



The branch, master has been updated
       via  201b6aecab7f3f0f86b6d89479e7c229d4e6fb30 (commit)
      from  2be89fae224e359b5e349341da160cd19542d53d (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
=========

 gschem/src/x_image.c     |    3 ---
 gschem/src/x_window.c    |    4 ----
 libgeda/include/struct.h |    2 --
 libgeda/src/s_toplevel.c |    2 --
 4 files changed, 0 insertions(+), 11 deletions(-)


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

commit 201b6aecab7f3f0f86b6d89479e7c229d4e6fb30
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sun Sep 9 12:51:00 2007 +0100

    Remove unused TOPLEVEL variables display_{width,height}

:100644 100644 6a65ccd... 2ed738f... M	gschem/src/x_image.c
:100644 100644 674ad00... fac1355... M	gschem/src/x_window.c
:100644 100644 c6a6ee2... 93d5a97... M	libgeda/include/struct.h
:100644 100644 04a49b4... 74a2872... M	libgeda/src/s_toplevel.c

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

commit 201b6aecab7f3f0f86b6d89479e7c229d4e6fb30
Author: Peter Clifton <pcjc2@xxxxxxxxx>
Date:   Sun Sep 9 12:51:00 2007 +0100

    Remove unused TOPLEVEL variables display_{width,height}

diff --git a/gschem/src/x_image.c b/gschem/src/x_image.c
index 6a65ccd..2ed738f 100644
--- a/gschem/src/x_image.c
+++ b/gschem/src/x_image.c
@@ -663,9 +663,6 @@ GdkPixbuf *x_image_get_pixbuf (TOPLEVEL *w_current)
   toplevel.grid = 0;
   toplevel.text_origin_marker = FALSE;
 
-  toplevel.display_width = toplevel.image_width;
-  toplevel.display_height = toplevel.image_height;
-
   toplevel.win_width = toplevel.image_width;
   toplevel.win_height = toplevel.image_height;
 
diff --git a/gschem/src/x_window.c b/gschem/src/x_window.c
index 674ad00..fac1355 100644
--- a/gschem/src/x_window.c
+++ b/gschem/src/x_window.c
@@ -48,10 +48,6 @@ void x_window_setup (TOPLEVEL *toplevel)
   /* Initialize the autosave callback */
   s_page_autosave_init(toplevel);
 
-  /* X related stuff */
-  toplevel->display_height = gdk_screen_height ();
-  toplevel->display_width  = gdk_screen_width ();
-
   /* x_window_setup_world() - BEGIN */
   toplevel->init_left = -45;
   toplevel->init_top  = -45;
diff --git a/libgeda/include/struct.h b/libgeda/include/struct.h
index c6a6ee2..93d5a97 100644
--- a/libgeda/include/struct.h
+++ b/libgeda/include/struct.h
@@ -461,8 +461,6 @@ struct st_toplevel {
 
   int override_color;			/* used in doing selections */
   int inside_redraw;			/* complex vs list redrawing */
-  int display_height;			/* display params */
-  int display_width;			/* could me made global (?) */
 
   int DONT_REDRAW;			/* misc flags */
   int ADDING_SEL;
diff --git a/libgeda/src/s_toplevel.c b/libgeda/src/s_toplevel.c
index 04a49b4..74a2872 100644
--- a/libgeda/src/s_toplevel.c
+++ b/libgeda/src/s_toplevel.c
@@ -107,8 +107,6 @@ TOPLEVEL *s_toplevel_new (void)
 
   toplevel->override_color = -1;
   toplevel->inside_redraw = 0;
-  toplevel->display_height = 0;
-  toplevel->display_width  = 0;
 
   toplevel->DONT_REDRAW       = 0;
   toplevel->ADDING_SEL        = 0;




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