/* call-seq:
* title -> String
*
* Returns the current window title for the Screen.
* The default is an empty string.
*/
VALUE rbgm_screen_getcaption(VALUE self)
{
char *title,*icon;
SDL_WM_GetCaption( &title,&icon );
if (title == NULL)
title = "\0";
/* We don't really care about icon. */
return rb_str_new2(title);
}