_gtk_load_custom_papers() exists only on Unix.

2007-04-30  Tor Lillqvist  <tml@novell.com>

	* gtk/gtkpapersize.c (gtk_paper_size_get_paper_sizes):
	_gtk_load_custom_papers() exists only on Unix.


svn path=/trunk/; revision=17733
This commit is contained in:
Tor Lillqvist 2007-04-30 07:42:12 +00:00 committed by Tor Lillqvist
parent 02d053db78
commit 6398a264e9
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2007-04-30 Tor Lillqvist <tml@novell.com>
* gtk/gtkpapersize.c (gtk_paper_size_get_paper_sizes):
_gtk_load_custom_papers() exists only on Unix.
2007-04-30 Tor Lillqvist <tml@novell.com>
Add functionality to set overall opacity of a top-level

View File

@ -452,10 +452,10 @@ gtk_paper_size_get_paper_sizes (gboolean include_custom)
{
GList *list = NULL;
guint i;
#ifdef G_OS_UNIX /* _gtk_load_custom_papers() only on Unix so far */
if (include_custom)
list = _gtk_load_custom_papers ();
#endif
for (i = 0; i < G_N_ELEMENTS (standard_names_offsets); ++i)
{
GtkPaperSize *size;