[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
gEDA-cvs: CVS update: x_window.c
User: cnieves
Date: 07/06/09 15:09:13
Modified: . x_window.c
Log:
Load the GTK missing image pixmap if a pixmap is not found.
Improve fix for bug #171449, loading the GTK missing image pixmap if
a pixmap is not found.
Revision Changes Path
1.58 eda/geda/gaf/gschem/src/x_window.c
(In the diff below, changes in quantity of whitespace are not shown.)
Index: x_window.c
===================================================================
RCS file: /home/cvspsrv/cvsroot/eda/geda/gaf/gschem/src/x_window.c,v
retrieving revision 1.57
retrieving revision 1.58
diff -u -b -r1.57 -r1.58
--- x_window.c 9 Jun 2007 16:42:34 -0000 1.57
+++ x_window.c 9 Jun 2007 19:09:13 -0000 1.58
@@ -397,6 +397,8 @@
wpixmap = gtk_image_new_from_pixmap (pixmap, mask);
} else {
s_log_message("Could not find image at file: %s.\n", filename);
+ wpixmap = gtk_image_new_from_stock(GTK_STOCK_MISSING_IMAGE ,
+ GTK_ICON_SIZE_SMALL_TOOLBAR);
}
}
_______________________________________________
geda-cvs mailing list
geda-cvs@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-cvs