fix for sunWpro compiler. forgot a return in my haste. thanks to tor@cs.brown.edu for pointing this out.

This commit is contained in:
pinkerton%netscape.com 2006-01-11 21:28:08 +00:00
parent 0eb5b5e7fb
commit c735d4ec34
2 changed files with 8 additions and 0 deletions

View File

@ -54,6 +54,8 @@ nsScreenGtk :: GetRect(PRInt32 *outLeft, PRInt32 *outTop, PRInt32 *outWidth, PRI
*outWidth = gdk_screen_width();
*outHeight = gdk_screen_height();
return NS_OK;
} // GetRect
@ -65,6 +67,8 @@ nsScreenGtk :: GetAvailRect(PRInt32 *outLeft, PRInt32 *outTop, PRInt32 *outWidth
*outWidth = gdk_screen_width();
*outHeight = gdk_screen_height();
return NS_OK;
} // GetAvailRect

View File

@ -54,6 +54,8 @@ nsScreenGtk :: GetRect(PRInt32 *outLeft, PRInt32 *outTop, PRInt32 *outWidth, PRI
*outWidth = gdk_screen_width();
*outHeight = gdk_screen_height();
return NS_OK;
} // GetRect
@ -65,6 +67,8 @@ nsScreenGtk :: GetAvailRect(PRInt32 *outLeft, PRInt32 *outTop, PRInt32 *outWidth
*outWidth = gdk_screen_width();
*outHeight = gdk_screen_height();
return NS_OK;
} // GetAvailRect