Fix a crash
svn path=/trunk/; revision=19786
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2008-03-12 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* modules/printbackends/cups/gtkprintbackendcups.c: Fix a crash
|
||||||
|
(#469210, Wouter Bolsterlee)
|
||||||
|
|
||||||
2008-03-12 Matthias Clasen <mclasen@redhat.com>
|
2008-03-12 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
|
* gtk/gtkpagesetup.c (gtk_page_setup_copy): Don't leak
|
||||||
|
|||||||
@ -1534,7 +1534,7 @@ cups_get_user_options (const char *printer_name,
|
|||||||
{
|
{
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
for (i = 0; i < sizeof (lpoptions_locations); i++)
|
for (i = 0; i < G_N_ELEMENTS (lpoptions_locations); i++)
|
||||||
{
|
{
|
||||||
if (g_path_is_absolute (lpoptions_locations[i]))
|
if (g_path_is_absolute (lpoptions_locations[i]))
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user