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

gEDA-cvs: pcb.git: branch: master updated (c29a621af2559a91d1f6cc7b8d810dcfac18734b)



The branch, master has been updated
       via  c29a621af2559a91d1f6cc7b8d810dcfac18734b (commit)
      from  1138b9419b56c6c4a5861dce79ed058ee4e513ba (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
=========

 src/hid/gtk/gui-pinout-preview.c |    5 -----
 1 files changed, 0 insertions(+), 5 deletions(-)


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

commit c29a621af2559a91d1f6cc7b8d810dcfac18734b
Author: Dan McMahill <dan@xxxxxxxxxxxx>
Commit: Dan McMahill <dan@xxxxxxxxxxxx>

    Revert "avoid trying to use the background graphics context before it is created."
    
    This reverts commit 1138b9419b56c6c4a5861dce79ed058ee4e513ba.
    As noted by Peter Clifton, there is a visible artifact that results
    from this.  We'll look for a better way to make sure the GC
    is created when it is needed.

:100644 100644 b3c0ebc... 212d37a... M	src/hid/gtk/gui-pinout-preview.c

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

commit c29a621af2559a91d1f6cc7b8d810dcfac18734b
Author: Dan McMahill <dan@xxxxxxxxxxxx>
Commit: Dan McMahill <dan@xxxxxxxxxxxx>

    Revert "avoid trying to use the background graphics context before it is created."
    
    This reverts commit 1138b9419b56c6c4a5861dce79ed058ee4e513ba.
    As noted by Peter Clifton, there is a visible artifact that results
    from this.  We'll look for a better way to make sure the GC
    is created when it is needed.

diff --git a/src/hid/gtk/gui-pinout-preview.c b/src/hid/gtk/gui-pinout-preview.c
index b3c0ebc..212d37a 100644
--- a/src/hid/gtk/gui-pinout-preview.c
+++ b/src/hid/gtk/gui-pinout-preview.c
@@ -163,11 +163,6 @@ ghid_pinout_preview_expose (GtkWidget * widget, GdkEventExpose * event)
   int save_view_width, save_view_height;
   double xz, yz;
 
-  /* make sure that the graphic contexts have been set up before we try to do anything here */
-  if (gport->bg_gc == NULL) {
-    return FALSE;
-  }
-
   save_zoom = gport->zoom;
   save_width = gport->width;
   save_height = gport->height;




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