rem: scaled = gdk_pixbuf_scale_simple (screen_image,
add: screenshot->_priv->scaled = gdk_pixbuf_scale_simple (screen_image,
context: totem_screenshot_new (const char *glade_filename, GdkPixbuf *screen_image){	TotemScreenshot *screenshot;	GtkWidget *container, *item;	char *filename;	GdkPixbuf *scaled;	GtkWidget *dialog, *image, *entry;	int width, height;	g_return_val_if_fail (glade_filename != NULL, NULL);	screenshot = TOTEM_SCREENSHOT (g_object_new (GTK_TYPE_SCREENSHOT, NULL));	screenshot->_priv->xml = glade_xml_new (glade_filename, "vbox11", NULL);	if (screenshot->_priv->xml == NULL)	{		totem_screenshot_finalize (G_OBJECT (screenshot));		return NULL;	}	screenshot->_priv->pixbuf = screen_image;	g_object_ref (screenshot->_priv->pixbuf);	gtk_window_set_title (GTK_WINDOW (screenshot), _("Save Screenshot"));	gtk_dialog_set_has_separator (GTK_DIALOG (screenshot), FALSE);	gtk_dialog_add_buttons (GTK_DIALOG (screenshot),			GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE,			GTK_STOCK_SAVE, GTK_RESPONSE_OK,			NULL);	g_signal_connect (G_OBJECT (screenshot), "response",			G_CALLBACK (totem_screenshot_response),			screenshot);	/* Screenshot dialog */	item = glade_xml_get_widget (screenshot->_priv->xml,			"totem_screenshot_window");	//FIXME//	g_signal_connect (G_OBJECT (item), "delete-event",//			G_CALLBACK (hide_screenshot), totem);	item = glade_xml_get_widget (screenshot->_priv->xml,			"tsw_save2file_radiobutton");	g_signal_connect (G_OBJECT (item), "toggled",			G_CALLBACK (on_radiobutton_shot_toggled),			screenshot);	item = glade_xml_get_widget (screenshot->_priv->xml,			"tsw_save2desk_radiobutton");	g_signal_connect (G_OBJECT (item), "toggled",			G_CALLBACK (on_radiobutton_shot_toggled),			screenshot);	gtk_toggle_button_set_active (GTK_TOGGLE_BUTTON (item), TRUE);	filename = screenshot_make_filename (screenshot);	height = 200;	width = height * gdk_pixbuf_get_width (screen_image)		/ gdk_pixbuf_get_height (screen_image);	scaled = gdk_pixbuf_scale_simple (screen_image,			width, height, GDK_INTERP_BILINEAR);	dialog = glade_xml_get_widget (screenshot->_priv->xml,			"totem_screenshot_window");	image = glade_xml_get_widget (screenshot->_priv->xml, "tsw_shot_image");	gtk_image_set_from_pixbuf (GTK_IMAGE (image), scaled);	gdk_pixbuf_unref (scaled);	entry = glade_xml_get_widget (screenshot->_priv->xml,			"tsw_save2file_combo_entry");	gtk_entry_set_text (GTK_ENTRY (entry), filename);	g_free (filename);	item = glade_xml_get_widget (screenshot->_priv->xml,			"tsw_save2file_fileentry");	{		GValue value = { 0, };		g_value_init (&value, GTK_TYPE_FILE_CHOOSER_ACTION);		g_value_set_enum (&value, GTK_FILE_CHOOSER_ACTION_SAVE);		g_object_set_property (G_OBJECT (item),				"filechooser-action", &value);	}	container = glade_xml_get_widget (screenshot->_priv->xml, "vbox11");	gtk_box_pack_start (GTK_BOX (GTK_DIALOG (screenshot)->vbox),			container,			TRUE,       /* expand */			TRUE,       /* fill */			0);         /* padding */	gtk_widget_show_all (GTK_DIALOG (screenshot)->vbox);	return GTK_WIDGET (screenshot);}