forked from AuroraMiddleware/gtk
_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:
parent
02d053db78
commit
6398a264e9
@ -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>
|
2007-04-30 Tor Lillqvist <tml@novell.com>
|
||||||
|
|
||||||
Add functionality to set overall opacity of a top-level
|
Add functionality to set overall opacity of a top-level
|
||||||
|
@ -452,10 +452,10 @@ gtk_paper_size_get_paper_sizes (gboolean include_custom)
|
|||||||
{
|
{
|
||||||
GList *list = NULL;
|
GList *list = NULL;
|
||||||
guint i;
|
guint i;
|
||||||
|
#ifdef G_OS_UNIX /* _gtk_load_custom_papers() only on Unix so far */
|
||||||
if (include_custom)
|
if (include_custom)
|
||||||
list = _gtk_load_custom_papers ();
|
list = _gtk_load_custom_papers ();
|
||||||
|
#endif
|
||||||
for (i = 0; i < G_N_ELEMENTS (standard_names_offsets); ++i)
|
for (i = 0; i < G_N_ELEMENTS (standard_names_offsets); ++i)
|
||||||
{
|
{
|
||||||
GtkPaperSize *size;
|
GtkPaperSize *size;
|
||||||
|
Loading…
Reference in New Issue
Block a user